From a8f5b2ed50f0aedc618d0364fa5b517b50216f48 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 11 Feb 2003 14:06:27 +0000 Subject: [PATCH] GeneralString support in mini-ASN1 compiler --- crypto/asn1/asn1_gen.c | 2 ++ doc/crypto/ASN1_generate_nconf.pod | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/crypto/asn1/asn1_gen.c b/crypto/asn1/asn1_gen.c index 097b4b8ecf..3d9d2ce07b 100644 --- a/crypto/asn1/asn1_gen.c +++ b/crypto/asn1/asn1_gen.c @@ -578,6 +578,8 @@ static int asn1_str2tag(const char *tagstr, int len) ASN1_GEN_STR("T61", V_ASN1_T61STRING), ASN1_GEN_STR("T61STRING", V_ASN1_T61STRING), ASN1_GEN_STR("TELETEXSTRING", V_ASN1_T61STRING), + ASN1_GEN_STR("GeneralString", V_ASN1_GENERALSTRING), + ASN1_GEN_STR("GENSTR", V_ASN1_GENERALSTRING), /* Special cases */ ASN1_GEN_STR("SEQUENCE", V_ASN1_SEQUENCE), diff --git a/doc/crypto/ASN1_generate_nconf.pod b/doc/crypto/ASN1_generate_nconf.pod index b4c89377f6..ba6e3c2e81 100644 --- a/doc/crypto/ASN1_generate_nconf.pod +++ b/doc/crypto/ASN1_generate_nconf.pod @@ -97,7 +97,7 @@ bits is set to zero. =item B, B, B, B, B, B, B, B, B, B, B, B, B, -B, B +B, B, B These encode the corresponding string types. B represents the contents of this structure. The format can be B or B. -- GitLab