diff options
author | Ben Laurie <ben@openssl.org> | 2005-03-31 13:57:54 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2005-03-31 13:57:54 +0000 |
commit | 8bb826ee53b726a9a2a42792ecb861194578404d (patch) | |
tree | c126ee7ea60bbc6893be7664518544ded9d725ce /crypto/ocsp | |
parent | 5d1430f390bbd1fdc6e97e8ae498192935ee9220 (diff) |
Consistency.
Diffstat (limited to 'crypto/ocsp')
-rw-r--r-- | crypto/ocsp/ocsp.h | 3 | ||||
-rw-r--r-- | crypto/ocsp/ocsp_ext.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/crypto/ocsp/ocsp.h b/crypto/ocsp/ocsp.h index 37375c15d3..07b18c49d3 100644 --- a/crypto/ocsp/ocsp.h +++ b/crypto/ocsp/ocsp.h @@ -466,8 +466,7 @@ int OCSP_basic_sign(OCSP_BASICRESP *brsp, X509 *signer, EVP_PKEY *key, const EVP_MD *dgst, STACK_OF(X509) *certs, unsigned long flags); -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); #define ASN1_STRING_encode_of(type,s,i2d,data,sk) \ ((ASN1_STRING *(*)(ASN1_STRING *,I2D_OF(type),type *,STACK_OF(ASN1_OBJECT) *))ASN1_STRING_encode)(s,i2d,data,sk) diff --git a/crypto/ocsp/ocsp_ext.c b/crypto/ocsp/ocsp_ext.c index 658a89161f..815cc29d58 100644 --- a/crypto/ocsp/ocsp_ext.c +++ b/crypto/ocsp/ocsp_ext.c @@ -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; |