diff options
Diffstat (limited to 'crypto/x509/x509.h')
-rw-r--r-- | crypto/x509/x509.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h index 2afbcfd04a..56e6eca00c 100644 --- a/crypto/x509/x509.h +++ b/crypto/x509/x509.h @@ -966,14 +966,13 @@ X509_INFO * X509_INFO_new(void); void X509_INFO_free(X509_INFO *a); char * X509_NAME_oneline(X509_NAME *a,char *buf,int size); -int ASN1_verify(int (*i2d)(void *, unsigned char **), X509_ALGOR *algor1, - ASN1_BIT_STRING *signature,char *data,EVP_PKEY *pkey); +int ASN1_verify(i2d_of_void *i2d, X509_ALGOR *algor1, + ASN1_BIT_STRING *signature,char *data,EVP_PKEY *pkey); -int ASN1_digest(int (*i2d)(void *, unsigned char **), - const EVP_MD *type,char *data, +int ASN1_digest(i2d_of_void *i2d,const EVP_MD *type,char *data, unsigned char *md,unsigned int *len); -int ASN1_sign(int (*i2d)(void *, unsigned char **), X509_ALGOR *algor1, +int ASN1_sign(i2d_of_void *i2d, X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_STRING *signature, char *data,EVP_PKEY *pkey, const EVP_MD *type); |