projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60a70a5
)
Annotate ASN.1 attributes of the jurisdictionCountryName NID
author
Alex Gaynor
<alex.gaynor@gmail.com>
Mon, 24 Apr 2017 01:09:12 +0000
(21:09 -0400)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 24 Apr 2017 01:37:12 +0000
(
03:37
+0200)
EV Guidelines section 9.2.5 says jurisdictionCountryName follows the
same ASN.1 encoding rules as countryName.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3284)
(cherry picked from commit
52c0c4d13e8220f19eb2b205dc0c30508c4a51a9
)
crypto/asn1/a_strnid.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/a_strnid.c
b/crypto/asn1/a_strnid.c
index 2d2303d8599e7abfa41204f323a20d443fb1604d..99ffe73787356927a80be17ef21a146547620e22 100644
(file)
--- a/
crypto/asn1/a_strnid.c
+++ b/
crypto/asn1/a_strnid.c
@@
-192,7
+192,8
@@
static const ASN1_STRING_TABLE tbl_standard[] = {
{NID_name, 1, ub_name, DIRSTRING_TYPE, 0},
{NID_dnQualifier, -1, -1, B_ASN1_PRINTABLESTRING, STABLE_NO_MASK},
{NID_domainComponent, 1, -1, B_ASN1_IA5STRING, STABLE_NO_MASK},
- {NID_ms_csp_name, -1, -1, B_ASN1_BMPSTRING, STABLE_NO_MASK}
+ {NID_ms_csp_name, -1, -1, B_ASN1_BMPSTRING, STABLE_NO_MASK},
+ {NID_jurisdictionCountryName, 2, 2, B_ASN1_PRINTABLESTRING, STABLE_NO_MASK}
};
static int sk_table_cmp(const ASN1_STRING_TABLE *const *a,