Constify EVP_SealInit, EVP_OpenInit
[openssl.git] / crypto / evp / p_open.c
index ed49a8c233a697584b9d98465ea3661ebde311e8..c0a50b9cd6b25e6543f04b520acb9829f88c2a11 100644 (file)
@@ -63,7 +63,7 @@
 #include <openssl/objects.h>
 #include <openssl/x509.h>
 
-int EVP_OpenInit(EVP_CIPHER_CTX *ctx, EVP_CIPHER *type, unsigned char *ek,
+int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, unsigned char *ek,
             int ekl, unsigned char *iv, EVP_PKEY *priv)
        {
        unsigned char *key=NULL;