From: Bob Beck Date: Wed, 28 Jan 2026 19:56:57 +0000 (-0700) Subject: Update crypto/x509/v3_utl.c X-Git-Tag: openssl-4.0.0-alpha1~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be38e5611d7bfb5bc5cf7933452ff516c56a2564;p=thirdparty%2Fopenssl.git Update crypto/x509/v3_utl.c Co-authored-by: Viktor Dukhovni Reviewed-by: Neil Horman Reviewed-by: Viktor Dukhovni MergeDate: Tue Feb 24 14:03:47 2026 (Merged from https://github.com/openssl/openssl/pull/29612) --- diff --git a/crypto/x509/v3_utl.c b/crypto/x509/v3_utl.c index 32848026525..ff17565317c 100644 --- a/crypto/x509/v3_utl.c +++ b/crypto/x509/v3_utl.c @@ -944,7 +944,7 @@ static int do_x509_check(X509 *x, const char *chk, size_t chklen, * choose to turn it off, doing so is at this time a best * practice. */ - if (check_nid != NID_id_on_SmtpUTF8Mailbox + if (othername_nid != NID_id_on_SmtpUTF8Mailbox || gen->d.otherName->value->type != V_ASN1_UTF8STRING) continue; alt_type = 0;