summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/asn1/a_strnid.c4
-rw-r--r--src/lib/libcrypto/man/ASN1_STRING_TABLE_get.37
2 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/a_strnid.c b/src/lib/libcrypto/asn1/a_strnid.c
index 0ba3c87545..58c6e5edab 100644
--- a/src/lib/libcrypto/asn1/a_strnid.c
+++ b/src/lib/libcrypto/asn1/a_strnid.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_strnid.c,v 1.28 2023/12/16 12:40:02 tb Exp $ */ 1/* $OpenBSD: a_strnid.c,v 1.29 2023/12/16 12:56:20 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 1999. 3 * project 1999.
4 */ 4 */
@@ -172,7 +172,7 @@ LCRYPTO_ALIAS(ASN1_STRING_set_by_NID);
172#define ub_organization_name 64 172#define ub_organization_name 64
173#define ub_organization_unit_name 64 173#define ub_organization_unit_name 64
174#define ub_title 64 174#define ub_title 64
175#define ub_email_address 128 175#define ub_email_address 128 /* XXX - bumped to 255 in RFC 5280 */
176#define ub_serial_number 64 176#define ub_serial_number 64
177 177
178static const ASN1_STRING_TABLE tbl_standard[] = { 178static const ASN1_STRING_TABLE tbl_standard[] = {
diff --git a/src/lib/libcrypto/man/ASN1_STRING_TABLE_get.3 b/src/lib/libcrypto/man/ASN1_STRING_TABLE_get.3
index 0fcc8a123d..7e3e360ac3 100644
--- a/src/lib/libcrypto/man/ASN1_STRING_TABLE_get.3
+++ b/src/lib/libcrypto/man/ASN1_STRING_TABLE_get.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ASN1_STRING_TABLE_get.3,v 1.1 2023/12/16 10:26:10 tb Exp $ 1.\" $OpenBSD: ASN1_STRING_TABLE_get.3,v 1.2 2023/12/16 12:56:20 tb Exp $
2.\" checked up to: 2.\" checked up to:
3.\" OpenSSL ASN1_STRING_TABLE_add.pod 7b608d08 Jul 27 01:18:50 2017 +0800 3.\" OpenSSL ASN1_STRING_TABLE_add.pod 7b608d08 Jul 27 01:18:50 2017 +0800
4.\" 4.\"
@@ -83,3 +83,8 @@ first appeared in OpenSSL 0.9.5 and have been available since
83.Ox 2.7 . 83.Ox 2.7 .
84.Sh BUGS 84.Sh BUGS
85Most aspects of the semantics considerably differ from OpenSSL. 85Most aspects of the semantics considerably differ from OpenSSL.
86.Pp
87.Dv ub_email_address ,
88which should really be called
89.Dv ub_emailaddress_length ,
90was changed in RFC 5280 from 128 to 255 to match PKCS#9 (RFC 2985).