Factorize pinned public key code into generic file handling and backend specific

This commit is contained in:
Patrick Monnerat
2014-10-13 18:34:51 +02:00
parent 265b9a2e49
commit 357ff4d1dc
5 changed files with 95 additions and 114 deletions

View File

@@ -299,7 +299,7 @@ curl_easy_strerror(CURLcode error)
return "The max connection limit is reached";
case CURLE_SSL_PINNEDPUBKEYNOTMATCH:
return "SSL public key does not matched pinned public key";
return "SSL public key does not match pinned public key";
/* error codes not used by current libcurl */
case CURLE_OBSOLETE20: