Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorAdam Langley <agl@chromium.org>2015-02-13 21:57:55 +0300
committerAdam Langley <agl@chromium.org>2015-02-13 22:00:48 +0300
commitc64ccb51b0daa44abe715c00862fa16ade79e14b (patch)
tree98bdc38c93908319a1bb5bd9749c5714e6556c45 /crypto
parent6899b19464b6eff7ec638fa1f325df51a56bbe89 (diff)
Remove support for zero lengths from do_x509_check.
Change-Id: I9ea838850d4c7ea8280cacb1a275b2d6cee1cbbe
Diffstat (limited to 'crypto')
-rw-r--r--crypto/x509v3/v3_utl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/x509v3/v3_utl.c b/crypto/x509v3/v3_utl.c
index 1b24b42f..f0ecc46c 100644
--- a/crypto/x509v3/v3_utl.c
+++ b/crypto/x509v3/v3_utl.c
@@ -925,9 +925,6 @@ static int do_x509_check(X509 *x, const char *chk, size_t chklen,
equal = equal_case;
}
- if (chklen == 0)
- chklen = strlen(chk);
-
gens = X509_get_ext_d2i(x, NID_subject_alt_name, NULL, NULL);
if (gens)
{