Commit 79a474e8 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Add an extra 'raw' function r2i to the extension code. Nothing uses this yet and

it is just a place holder for functionality to be added later. Its been added
now so the X509V3_EXT_METHOD structure shouldn't (hopefully) have to change
after the release.
parent 924acc54
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ i2d_AUTHORITY_KEYID,
NULL, NULL,
(X509V3_EXT_I2V)i2v_AUTHORITY_KEYID,
(X509V3_EXT_V2I)v2i_AUTHORITY_KEYID,
NULL,
NULL,NULL,
NULL
};

+2 −2
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ i2d_GENERAL_NAMES,
NULL, NULL,
(X509V3_EXT_I2V)i2v_GENERAL_NAMES,
(X509V3_EXT_V2I)v2i_subject_alt,
NULL, NULL},
NULL, NULL, NULL},
{ NID_issuer_alt_name, 0,
(X509V3_EXT_NEW)GENERAL_NAMES_new,
GENERAL_NAMES_free,
@@ -91,7 +91,7 @@ i2d_GENERAL_NAMES,
NULL, NULL,
(X509V3_EXT_I2V)i2v_GENERAL_NAMES,
(X509V3_EXT_V2I)v2i_issuer_alt,
NULL, NULL},
NULL, NULL, NULL},
EXT_END
};

+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ i2d_BASIC_CONSTRAINTS,
NULL, NULL,
(X509V3_EXT_I2V)i2v_BASIC_CONSTRAINTS,
(X509V3_EXT_V2I)v2i_BASIC_CONSTRAINTS,
NULL,
NULL,NULL,
NULL
};

+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ NID_crl_reason, 0,
i2d_ASN1_ENUMERATED,
(X509V3_EXT_I2S)i2s_ASN1_ENUMERATED_TABLE,
(X509V3_EXT_S2I)NULL,
NULL, NULL, NULL, (char *)crl_reasons};
NULL, NULL, NULL, NULL, (char *)crl_reasons};


static ASN1_ENUMERATED *asn1_enumerated_new()
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ i2d_ext_ku,
NULL, NULL,
(X509V3_EXT_I2V)i2v_ext_ku,
(X509V3_EXT_V2I)v2i_ext_ku,
NULL,
NULL,NULL,
NULL
};

Loading