We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d22c2c6 commit 69159dfCopy full SHA for 69159df
src/crypto/openssl_encrypt.c
@@ -150,16 +150,16 @@ get_cipher_from_str(char *str)
150
static int
151
openssl_encrypt_init(struct openssl_encrypt **state, const char *passphrase)
152
{
153
- enum openssl_mode mode = DEFAULT_CIPHER_MODE;
154
-
155
- struct openssl_encrypt *s = (struct openssl_encrypt *)
156
- calloc(1, sizeof(struct openssl_encrypt));
157
158
if (strcmp(passphrase, "help") == 0) {
159
usage();
160
return 1;
161
}
162
+ enum openssl_mode mode = DEFAULT_CIPHER_MODE;
+
+ struct openssl_encrypt *s = (struct openssl_encrypt *)
+ calloc(1, sizeof(struct openssl_encrypt));
163
char pass[STR_LEN];
164
snprintf_ch(pass, "%s", passphrase);
165
0 commit comments