PR: 2411
[oweals/openssl.git] / crypto / ocsp / ocsp_ext.c
index 658a89161fb1760b30a594df230b500583c23ae4..815cc29d58fe2fad641022c1eaf84da6342bec62 100644 (file)
@@ -265,8 +265,7 @@ int OCSP_SINGLERESP_add_ext(OCSP_SINGLERESP *x, X509_EXTENSION *ex, int loc)
 
 /* also CRL Entry Extensions */
 
-ASN1_STRING *ASN1_STRING_encode(ASN1_STRING *s,
-                               int (*i2d)(void *,unsigned char **), 
+ASN1_STRING *ASN1_STRING_encode(ASN1_STRING *s, i2d_of_void *i2d,
                                void *data, STACK_OF(ASN1_OBJECT) *sk)
         {
        int i;