Wrap the inclusion of openssl/engine.h with a protective check for
[oweals/openssl.git] / crypto / evp / p5_crpt.c
index 39306f4564597812463f4f7edfa5e0c57d3c3ae2..c0dfb7de373037148fb233020fee72bc2978e598 100644 (file)
@@ -110,7 +110,8 @@ int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *cctx, const char *pass, int passlen,
        int i;
        PBEPARAM *pbe;
        int saltlen, iter;
-       unsigned char *salt, *pbuf;
+       unsigned char *salt;
+       const unsigned char *pbuf;
 
        /* Extract useful info from parameter */
        pbuf = param->value.sequence->data;