Fix warning.
This commit is contained in:
parent
1088e27ca8
commit
5ef738240a
@ -449,7 +449,7 @@ bad:
|
|||||||
} else RAND_bytes(salt, PKCS5_SALT_LEN);
|
} else RAND_bytes(salt, PKCS5_SALT_LEN);
|
||||||
/* If -P option then don't bother writing */
|
/* If -P option then don't bother writing */
|
||||||
if((printkey != 2) && (BIO_write(wbio,
|
if((printkey != 2) && (BIO_write(wbio,
|
||||||
(unsigned char *) salt,
|
(char *)salt,
|
||||||
PKCS5_SALT_LEN) != PKCS5_SALT_LEN)) {
|
PKCS5_SALT_LEN) != PKCS5_SALT_LEN)) {
|
||||||
BIO_printf(bio_err,"error writing output file\n");
|
BIO_printf(bio_err,"error writing output file\n");
|
||||||
goto end;
|
goto end;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user