diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-12-28 23:24:50 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-12-28 23:24:50 +0100 |
commit | 73e92de57759ea1fadbc7a9d08e02b99a752d688 (patch) | |
tree | d257d51ef0eb3c2ab061def17565209dc4312999 /crypto/asn1/a_verify.c | |
parent | ASN1_ITEM versions of sign, verify, pack and unpack. (diff) | |
download | openssl-73e92de57759ea1fadbc7a9d08e02b99a752d688.tar.xz openssl-73e92de57759ea1fadbc7a9d08e02b99a752d688.zip |
Add NO_ASN1_OLD to remove some old style functions:
currently OpenSSL itself wont compile with this set
because some old style stuff remains.
Change old functions X509_sign(), X509_verify() etc
to use new item based functions.
Replace OCSP function declarations with DECLARE macros.
Diffstat (limited to 'crypto/asn1/a_verify.c')
-rw-r--r-- | crypto/asn1/a_verify.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/asn1/a_verify.c b/crypto/asn1/a_verify.c index be5a27e58b..4b4a240f50 100644 --- a/crypto/asn1/a_verify.c +++ b/crypto/asn1/a_verify.c @@ -71,6 +71,8 @@ #include <openssl/buffer.h> #include <openssl/evp.h> +#ifndef NO_ASN1_OLD + int ASN1_verify(int (*i2d)(), X509_ALGOR *a, ASN1_BIT_STRING *signature, char *data, EVP_PKEY *pkey) { @@ -118,6 +120,8 @@ err: return(ret); } +#endif + int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a, ASN1_BIT_STRING *signature, void *asn, EVP_PKEY *pkey) |