From 8265328def2eec75a8afda71b38195a342aeecb2 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 2 Oct 2005 12:41:11 +0000 Subject: [PATCH] Oops :-) --- crypto/asn1/x_crl.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/crypto/asn1/x_crl.c b/crypto/asn1/x_crl.c index 382aed5a6d..0f72711452 100644 --- a/crypto/asn1/x_crl.c +++ b/crypto/asn1/x_crl.c @@ -102,23 +102,6 @@ ASN1_SEQUENCE_enc(X509_CRL_INFO, enc, crl_inf_cb) = { ASN1_EXP_SEQUENCE_OF_OPT(X509_CRL_INFO, extensions, X509_EXTENSION, 0) } ASN1_SEQUENCE_END_enc(X509_CRL_INFO, X509_CRL_INFO) -static int crl_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, - void *exarg) -{ - X509_CRL *a = (X509_CRL_INFO *)*pval; - -#ifndef OPENSSL_NO_SHA - switch(operation) { - /* Hash CRL here for rapid comparison in X509_digest_cmp() - */ - case ASN1_OP_D2I_POST: - X509_CRL_digest(crl->digest, crl); - break; - } -#endif - return 1; -} - ASN1_SEQUENCE_ref(X509_CRL, 0, CRYPTO_LOCK_X509_CRL) = { ASN1_SIMPLE(X509_CRL, crl, X509_CRL_INFO), ASN1_SIMPLE(X509_CRL, sig_alg, X509_ALGOR), -- 2.25.1