summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_int.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-12-13 14:47:33 +0100
committerDr. Stephen Henson <steve@openssl.org>2000-12-13 14:47:33 +0100
commit2aff7727f700384de6ced15a97888a8405cb1214 (patch)
treeaa5c50faad985a6acf8f1373d5dcd99f0cade1ca /crypto/x509v3/v3_int.c
parentAdd description of SSL_[CTX_]_check_private_key(). (diff)
downloadopenssl-2aff7727f700384de6ced15a97888a8405cb1214.tar.xz
openssl-2aff7727f700384de6ced15a97888a8405cb1214.zip
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_int.c')
-rw-r--r--crypto/x509v3/v3_int.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/crypto/x509v3/v3_int.c b/crypto/x509v3/v3_int.c
index 63c201e5f4..473a9868a6 100644
--- a/crypto/x509v3/v3_int.c
+++ b/crypto/x509v3/v3_int.c
@@ -61,12 +61,9 @@
#include <openssl/x509v3.h>
X509V3_EXT_METHOD v3_crl_num = {
-NID_crl_number, 0,
-(X509V3_EXT_NEW)ASN1_INTEGER_new,
-(X509V3_EXT_FREE)ASN1_INTEGER_free,
-(X509V3_EXT_D2I)d2i_ASN1_INTEGER,
-(X509V3_EXT_I2D)i2d_ASN1_INTEGER,
+NID_crl_number, 0, &ASN1_INTEGER_it,
+0,0,0,0,
(X509V3_EXT_I2S)i2s_ASN1_INTEGER,
-(X509V3_EXT_S2I)0,
-NULL, NULL, NULL, NULL, NULL};
+0,
+0,0,0,0, NULL};