summaryrefslogtreecommitdiff
path: root/include/openssl
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-01-17 17:45:42 +0000
committerTomas Mraz <tomas@openssl.org>2023-02-07 17:05:10 +0100
commit7880536fe17c2b5450e279155bedd51771d28c9f (patch)
tree870d0214cc69256c19486ae6a66105cec22a0ee5 /include/openssl
parentadf77d6657e836fc87391fad53d857927a764297 (diff)
downloadopenssl-new-7880536fe17c2b5450e279155bedd51771d28c9f.tar.gz
Fix GENERAL_NAME_cmp for x400Address (master)
CVE-2023-0286 Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org>
Diffstat (limited to 'include/openssl')
-rw-r--r--include/openssl/x509v3.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/x509v3.h.in b/include/openssl/x509v3.h.in
index 80c69960b0..2d7164e3a2 100644
--- a/include/openssl/x509v3.h.in
+++ b/include/openssl/x509v3.h.in
@@ -157,7 +157,7 @@ typedef struct GENERAL_NAME_st {
OTHERNAME *otherName; /* otherName */
ASN1_IA5STRING *rfc822Name;
ASN1_IA5STRING *dNSName;
- ASN1_TYPE *x400Address;
+ ASN1_STRING *x400Address;
X509_NAME *directoryName;
EDIPARTYNAME *ediPartyName;
ASN1_IA5STRING *uniformResourceIdentifier;