From: Dr. Stephen Henson Date: Wed, 5 Apr 2006 13:04:02 +0000 (+0000) Subject: Last arg to EVP_PKEY_assign() should be void *. X-Git-Tag: OpenSSL_0_9_8k^2~1441 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=732a40e107f056a6678602ab869f2ba9230e0d24 Last arg to EVP_PKEY_assign() should be void *. --- 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);