From 71e33a9c0be6449b867fe90e2a8c8333aad92676 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 19 Jul 2019 14:09:15 +0200 Subject: fixup cleaner language Suggested-by: Daniel Gustafsson --- lib/vtls/openssl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index ae69aaa51..b7ed67a8c 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -1560,10 +1560,10 @@ static CURLcode verifyhost(struct connectdata *conn, X509 *server_cert) assumed that the data returned by ASN1_STRING_data() is null terminated or does not contain embedded nulls." But also that "The actual format of the data will depend on the actual string - type itself: for example for and IA5String the data will be ASCII" + type itself: for example for an IA5String the data will be ASCII" - "I checked the 0.9.6 and 0.9.8 sources before my patch and - it always 0-terminates an IA5String." + It has been however verified that in 0.9.6 and 0.9.7, IA5String + are always zero-terminated. */ if((altlen == strlen(altptr)) && /* if this isn't true, there was an embedded zero in the name -- cgit v1.2.1