From: Alex Gaynor Date: Mon, 24 Apr 2017 01:09:12 +0000 (-0400) Subject: Annotate ASN.1 attributes of the jurisdictionCountryName NID X-Git-Tag: OpenSSL_1_1_1-pre1~1717 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e8d542121b10158c1bdd5fbe02e0d17c59470cae;p=oweals%2Fopenssl.git Annotate ASN.1 attributes of the jurisdictionCountryName NID EV Guidelines section 9.2.5 says jurisdictionCountryName follows the same ASN.1 encoding rules as countryName. Reviewed-by: Rich Salz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/3284) --- diff --git a/crypto/asn1/tbl_standard.h b/crypto/asn1/tbl_standard.h index 7fb04f8531..a5a5bc8b06 100644 --- a/crypto/asn1/tbl_standard.h +++ b/crypto/asn1/tbl_standard.h @@ -50,6 +50,7 @@ static const ASN1_STRING_TABLE tbl_standard[] = { {NID_ms_csp_name, -1, -1, B_ASN1_BMPSTRING, STABLE_NO_MASK}, {NID_rfc822Mailbox, 1, ub_rfc822_mailbox, B_ASN1_IA5STRING, STABLE_NO_MASK}, + {NID_jurisdictionCountryName, 2, 2, B_ASN1_PRINTABLESTRING, STABLE_NO_MASK}, {NID_INN, 1, 12, B_ASN1_NUMERICSTRING, STABLE_NO_MASK}, {NID_OGRN, 1, 13, B_ASN1_NUMERICSTRING, STABLE_NO_MASK}, {NID_SNILS, 1, 11, B_ASN1_NUMERICSTRING, STABLE_NO_MASK}