summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-07-19 14:09:15 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-07-19 14:09:15 +0200
commit71e33a9c0be6449b867fe90e2a8c8333aad92676 (patch)
treeddfc2d2e555bc722e4a6b1eef8581cb631c0b6a3
parentca5aa7a6db83875daa8522d94ba8acee276f2e0f (diff)
downloadcurl-bagder/remove-names.tar.gz
fixup cleaner languagebagder/remove-names
Suggested-by: Daniel Gustafsson
-rw-r--r--lib/vtls/openssl.c6
1 files 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