diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-12-13 13:47:33 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-12-13 13:47:33 +0000 |
commit | 2aff7727f700384de6ced15a97888a8405cb1214 (patch) | |
tree | aa5c50faad985a6acf8f1373d5dcd99f0cade1ca /crypto/x509v3/v3_cpols.c | |
parent | cc93ae3ef4f76bcf64164ef3f83854bdfd4a074e (diff) | |
download | openssl-2aff7727f700384de6ced15a97888a8405cb1214.zip openssl-2aff7727f700384de6ced15a97888a8405cb1214.tar.gz openssl-2aff7727f700384de6ced15a97888a8405cb1214.tar.bz2 |
Rewrite the extension code to use an ASN1_ITEM structure
for its ASN1 operations as well as the old style function
pointers (i2d, d2i, new, free). Change standard extensions
to support this.
Fix a warning in BN_mul(), bn_mul.c about uninitialised 'j'.
Diffstat (limited to 'crypto/x509v3/v3_cpols.c')
-rw-r--r-- | crypto/x509v3/v3_cpols.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/crypto/x509v3/v3_cpols.c b/crypto/x509v3/v3_cpols.c index 47e08c8..ea84ad4 100644 --- a/crypto/x509v3/v3_cpols.c +++ b/crypto/x509v3/v3_cpols.c @@ -76,13 +76,10 @@ static POLICYQUALINFO *notice_section(X509V3_CTX *ctx, static STACK_OF(ASN1_INTEGER) *nref_nos(STACK_OF(CONF_VALUE) *nos); X509V3_EXT_METHOD v3_cpols = { -NID_certificate_policies, 0, -(X509V3_EXT_NEW)CERTIFICATEPOLICIES_new, -(X509V3_EXT_FREE)CERTIFICATEPOLICIES_free, -(X509V3_EXT_D2I)d2i_CERTIFICATEPOLICIES, -(X509V3_EXT_I2D)i2d_CERTIFICATEPOLICIES, -NULL, NULL, -NULL, NULL, +NID_certificate_policies, 0,&CERTIFICATEPOLICIES_it, +0,0,0,0, +0,0, +0,0, (X509V3_EXT_I2R)i2r_certpol, (X509V3_EXT_R2I)r2i_certpol, NULL |