summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2020-01-20 15:08:04 +0300
committerDmitry Baryshkov <dbaryshkov@gmail.com>2020-01-20 15:08:04 +0300
commit3ab9cc731f4d352a64cb7df1a0646ba6faa39686 (patch)
tree818b2e7023f1e65e2726f3065e9533b588a4f8d2
parent4023d63f0b2795c0c0447282c808671ae8503ac3 (diff)
downloadgnutls-3ab9cc731f4d352a64cb7df1a0646ba6faa39686.tar.gz
x509: add OGRNIP DN entry definition used by qualified GOST certificates
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
-rw-r--r--lib/x509/common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/x509/common.c b/lib/x509/common.c
index 04a984253e..4939d07d2b 100644
--- a/lib/x509/common.c
+++ b/lib/x509/common.c
@@ -136,6 +136,8 @@ static const struct oid_to_string _oid2str[] = {
ENTRY("1.2.643.100.1", "OGRN", NULL, ASN1_ETYPE_NUMERIC_STRING),
/* Individual insurance account number */
ENTRY("1.2.643.100.3", "SNILS", NULL, ASN1_ETYPE_NUMERIC_STRING),
+ /* Main state registration number for individual enterpreneurs */
+ ENTRY("1.2.643.100.5", "OGRNIP", NULL, ASN1_ETYPE_NUMERIC_STRING),
/* VAT identification number */
ENTRY("1.2.643.3.131.1.1", "INN", NULL, ASN1_ETYPE_NUMERIC_STRING),