summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/evp/evp.h2
-rw-r--r--crypto/evp/p_lib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h
index e4cbd2d68f..dcf9933131 100644
--- a/crypto/evp/evp.h
+++ b/crypto/evp/evp.h
@@ -776,7 +776,7 @@ int EVP_PKEY_encrypt(unsigned char *enc_key,
int EVP_PKEY_type(int type);
int EVP_PKEY_bits(EVP_PKEY *pkey);
int EVP_PKEY_size(EVP_PKEY *pkey);
-int EVP_PKEY_assign(EVP_PKEY *pkey,int type,char *key);
+int EVP_PKEY_assign(EVP_PKEY *pkey,int type,void *key);
void * EVP_PKEY_get0(EVP_PKEY *pkey);
#ifndef OPENSSL_NO_RSA
diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c
index 0d3a69b48a..1a1e61a64e 100644
--- a/crypto/evp/p_lib.c
+++ b/crypto/evp/p_lib.c
@@ -185,7 +185,7 @@ EVP_PKEY *EVP_PKEY_new(void)
return(ret);
}
-int EVP_PKEY_assign(EVP_PKEY *pkey, int type, char *key)
+int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key)
{
const EVP_PKEY_ASN1_METHOD *ameth;
if (pkey == NULL) return(0);