summaryrefslogtreecommitdiff
path: root/lib/ssluse.c
diff options
context:
space:
mode:
authorFabian Keil <fk@fabiankeil.de>2011-04-19 15:54:13 +0200
committerJulien Chaffraix <julien.chaffraix@gmail.com>2011-04-21 07:55:53 -0700
commit1702a2c08d3a0ed5945f34e6cd38436611f65164 (patch)
treee72941241445237dc35527c098d6c2ca098bfaa5 /lib/ssluse.c
parent9230be0797cc7d155240fd38d07bee041527bbc2 (diff)
downloadcurl-1702a2c08d3a0ed5945f34e6cd38436611f65164.tar.gz
Fix a couple of spelling errors in lib/
Found with codespell.
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r--lib/ssluse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index 9d55eb0c3..1b53f2589 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -1200,7 +1200,7 @@ static CURLcode verifyhost(struct connectdata *conn,
res = CURLE_PEER_FAILED_VERIFICATION;
}
else {
- /* we have to look to the last occurence of a commonName in the
+ /* we have to look to the last occurrence of a commonName in the
distinguished one to get the most significant one. */
int j,i=-1 ;
@@ -2587,7 +2587,7 @@ static ssize_t ossl_send(struct connectdata *conn,
case SSL_ERROR_WANT_READ:
case SSL_ERROR_WANT_WRITE:
/* The operation did not complete; the same TLS/SSL I/O function
- should be called again later. This is basicly an EWOULDBLOCK
+ should be called again later. This is basically an EWOULDBLOCK
equivalent. */
*curlcode = CURLE_AGAIN;
return -1;
@@ -2658,7 +2658,7 @@ static ssize_t ossl_recv(struct connectdata *conn, /* connection data */
size_t Curl_ossl_version(char *buffer, size_t size)
{
#ifdef YASSL_VERSION
- /* yassl provides an OpenSSL API compatiblity layer so it looks identical
+ /* yassl provides an OpenSSL API compatibility layer so it looks identical
to OpenSSL in all other aspects */
return snprintf(buffer, size, "yassl/%s", YASSL_VERSION);
#else /* YASSL_VERSION */