X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fasn1%2Fasn1_locl.h;h=d076fa071c14a8fcf2320eeaabf8140305f6c8ad;hp=aa10beaff00ec8ee5643c8dd35c1ad7969ea98c1;hb=1e898fb0f58c9b6cee13917a8453809b1009fec2;hpb=c315a547e62fc8f1bdc3e9d57138871117dca6f7 diff --git a/crypto/asn1/asn1_locl.h b/crypto/asn1/asn1_locl.h index aa10beaff0..d076fa071c 100644 --- a/crypto/asn1/asn1_locl.h +++ b/crypto/asn1/asn1_locl.h @@ -87,28 +87,8 @@ struct asn1_sctx_st { void *app_data; } /* ASN1_SCTX */ ; -/* - * Method to handle CRL access. In general a CRL could be very large (several - * Mb) and can consume large amounts of resources if stored in memory by - * multiple processes. This method allows general CRL operations to be - * redirected to more efficient callbacks: for example a CRL entry database. - */ - -#define X509_CRL_METHOD_DYNAMIC 1 - -struct x509_crl_method_st { - int flags; - int (*crl_init) (X509_CRL *crl); - int (*crl_free) (X509_CRL *crl); - int (*crl_lookup) (X509_CRL *crl, X509_REVOKED **ret, - ASN1_INTEGER *ser, X509_NAME *issuer); - int (*crl_verify) (X509_CRL *crl, EVP_PKEY *pk); -}; - -int asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, - const ASN1_ITEM *it); -int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, - int utype, char *free_cont, const ASN1_ITEM *it); +/* Month values for printing out times */ +extern const char *_asn1_mon[12]; int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it); int asn1_set_choice_selector(ASN1_VALUE **pval, int value,