From: Richard Levitte Date: Wed, 20 Apr 2005 10:02:16 +0000 (+0000) Subject: Avoid compiler complaint about mismatched function signatures X-Git-Tag: OpenSSL_0_9_8-beta1~13^2~173 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7c671508bdcd006352e577c470553a25da9487ab;p=oweals%2Fopenssl.git Avoid compiler complaint about mismatched function signatures (void * != RSA *) --- diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h index 209e16c1be..69ed17952f 100644 --- a/crypto/evp/evp.h +++ b/crypto/evp/evp.h @@ -277,8 +277,8 @@ typedef int evp_verify_method(int type,const unsigned char *m, (evp_verify_method *)RSA_verify, \ {EVP_PKEY_RSA,EVP_PKEY_RSA2,0,0} #define EVP_PKEY_RSA_ASN1_OCTET_STRING_method \ - RSA_sign_ASN1_OCTET_STRING, \ - RSA_verify_ASN1_OCTET_STRING, \ + (evp_sign_method *)RSA_sign_ASN1_OCTET_STRING, \ + (evp_verify_method *)RSA_verify_ASN1_OCTET_STRING, \ {EVP_PKEY_RSA,EVP_PKEY_RSA2,0,0} #else #define EVP_PKEY_RSA_method EVP_PKEY_NULL_method