projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1088e27
)
Fix warning.
author
Ben Laurie
<ben@openssl.org>
Thu, 18 Nov 1999 14:10:53 +0000
(14:10 +0000)
committer
Ben Laurie
<ben@openssl.org>
Thu, 18 Nov 1999 14:10:53 +0000
(14:10 +0000)
apps/enc.c
patch
|
blob
|
history
diff --git
a/apps/enc.c
b/apps/enc.c
index d033e380c4febf2e8acf3123ed2264d118500227..d2d8aa0c371df9c96062f19c92226c0aea02dbe6 100644
(file)
--- a/
apps/enc.c
+++ b/
apps/enc.c
@@
-449,7
+449,7
@@
bad:
} 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;