Skip to content

Commit

Permalink
Fix warning on older openssl/libressl
Browse files Browse the repository at this point in the history
  • Loading branch information
falsovsky committed May 28, 2019
1 parent 0cdd7a5 commit 1171606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blowfish_cbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ decrypt_string_cbc (const char *key, const char *str, char *dest, int len)
goto fail;
}
BIO_set_flags(l_b64, BIO_FLAGS_BASE64_NO_NL);
BIO *l_mem = BIO_new_mem_buf(str, len);
BIO *l_mem = BIO_new_mem_buf((char *)str, len);
if(!l_mem) {
goto fail;
}
Expand Down

0 comments on commit 1171606

Please sign in to comment.