summaryrefslogtreecommitdiffstats
path: root/apps/enc.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-11-18 14:10:53 +0000
committerBen Laurie <ben@openssl.org>1999-11-18 14:10:53 +0000
commit5ef738240abed2b718c02f6520760f54a328071e (patch)
tree1cc3b0a54f02671aed4e1daeb5bcfb98eaf0447c /apps/enc.c
parent1088e27ca823a35658a50428fef9a412face7557 (diff)
Fix warning.
Diffstat (limited to 'apps/enc.c')
-rw-r--r--apps/enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/enc.c b/apps/enc.c
index d033e380c4..d2d8aa0c37 100644
--- 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;