Fix warning.
authorBen Laurie <ben@openssl.org>
Thu, 18 Nov 1999 14:10:53 +0000 (14:10 +0000)
committerBen Laurie <ben@openssl.org>
Thu, 18 Nov 1999 14:10:53 +0000 (14:10 +0000)
apps/enc.c

index d033e38..d2d8aa0 100644 (file)
@@ -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;