diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-12-28 22:24:50 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-12-28 22:24:50 +0000 |
commit | 73e92de57759ea1fadbc7a9d08e02b99a752d688 (patch) | |
tree | d257d51ef0eb3c2ab061def17565209dc4312999 /crypto/asn1/a_sign.c | |
parent | 09ab755c555a96df23b78fb188578b2fba5faae2 (diff) | |
download | openssl-73e92de57759ea1fadbc7a9d08e02b99a752d688.tar.gz |
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_sign.c')
-rw-r--r-- | crypto/asn1/a_sign.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/asn1/a_sign.c b/crypto/asn1/a_sign.c index 5be077ddfc..67f130840d 100644 --- a/crypto/asn1/a_sign.c +++ b/crypto/asn1/a_sign.c @@ -71,6 +71,8 @@ #include <openssl/objects.h> #include <openssl/buffer.h> +#ifndef NO_ASN1_OLD + int ASN1_sign(int (*i2d)(), X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_STRING *signature, char *data, EVP_PKEY *pkey, const EVP_MD *type) @@ -147,6 +149,8 @@ err: return(outl); } +#endif + int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_STRING *signature, void *asn, EVP_PKEY *pkey, const EVP_MD *type) |