From 732a40e107f056a6678602ab869f2ba9230e0d24 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 5 Apr 2006 13:04:02 +0000 Subject: [PATCH] Last arg to EVP_PKEY_assign() should be void *. --- crypto/evp/evp.h | 2 +- crypto/evp/p_lib.c | 2 +- 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); -- 2.25.1