Skip to content

Commit

Permalink
Fix warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Laurie committed Nov 18, 1999
1 parent 1088e27 commit 5ef7382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ int MAIN(int argc, char **argv)
} else RAND_bytes(salt, PKCS5_SALT_LEN);
/* If -P option then don't bother writing */
if((printkey != 2) && (BIO_write(wbio,
(unsigned char *) salt,
(char *)salt,
PKCS5_SALT_LEN) != PKCS5_SALT_LEN)) {
BIO_printf(bio_err,"error writing output file\n");
goto end;
Expand Down

0 comments on commit 5ef7382

Please sign in to comment.