From fe0f9dc6110bd748f9519029247a335139794304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 19 Jan 2022 18:12:13 +0000 Subject: [PATCH] crypto: remove wildcard options for checkEmail Wildcard options do not affect X509_check_email. Refs: https://github.com/openssl/openssl/pull/17536 Refs: https://github.com/nodejs/node/pull/41571 PR-URL: https://github.com/nodejs/node/pull/41599 Reviewed-By: Tierney Cyren Reviewed-By: Filip Skokan --- doc/api/crypto.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 721f74a6e1d5ab..673d4f1bda4792 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2471,15 +2471,17 @@ added: v15.6.0 * `email` {string} * `options` {Object} * `subject` {string} `'always'` or `'never'`. **Default:** `'always'`. - * `wildcards` {boolean} **Default:** `true`. - * `partialWildcards` {boolean} **Default:** `true`. - * `multiLabelWildcards` {boolean} **Default:** `false`. - * `singleLabelSubdomains` {boolean} **Default:** `false`. * Returns: {string|undefined} Returns `email` if the certificate matches, `undefined` if it does not.