Last arg to EVP_PKEY_assign() should be void *.

This commit is contained in:
Dr. Stephen Henson 2006-04-05 13:04:02 +00:00
parent 29da3ade3c
commit 732a40e107
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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);