From 7c671508bdcd006352e577c470553a25da9487ab Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 20 Apr 2005 10:02:16 +0000 Subject: [PATCH] Avoid compiler complaint about mismatched function signatures (void * != RSA *) --- crypto/evp/evp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1