Oops :-)
authorDr. Stephen Henson <steve@openssl.org>
Sun, 2 Oct 2005 12:41:11 +0000 (12:41 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 2 Oct 2005 12:41:11 +0000 (12:41 +0000)
crypto/asn1/x_crl.c

index 382aed5a6d91fe2c2e5d26a7334545f15c3150b3..0f727114523ee7f8c5de7f26fad96ea61f6de92d 100644 (file)
@@ -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),