vtls: fix comment typos and tidy up a type
No binary (build failed)
—
(log yok)
| @@ -396,7 +396,7 @@ CURLcode Curl_ssl_easy_config_complete(struct Curl_easy *data) | |
| CURLcode Curl_ssl_conn_config_init(struct Curl_easy *data, | |
| struct connectdata *conn) | |
| { | |
| - | /* Clone "primary" SSL configurations from the esay handle to |
| + | /* Clone "primary" SSL configurations from the easy handle to |
| * the connection. They are used for connection cache matching and | |
| * probably outlive the easy handle */ | |
| if(!clone_ssl_primary_config(&data->set.ssl.primary, &conn->ssl_config)) | |
| @@ -803,7 +803,7 @@ CURLcode Curl_pin_peer_pubkey(struct Curl_easy *data, | |
| pinned_hash_len = end_pos ? | |
| (size_t)(end_pos - pinned_hash) : strlen(pinned_hash); | |
| - | /* compare base64 sha256 digests" */ |
| + | /* compare base64 sha256 digests */ |
| if(cert_hash_len == pinned_hash_len && | |
| !memcmp(cert_hash, pinned_hash, cert_hash_len)) { | |
| DEBUGF(infof(data, "public key hash matches pinned value")); | |
| @@ -823,7 +823,7 @@ CURLcode Curl_pin_peer_pubkey(struct Curl_easy *data, | |
| size_t size, pem_len; | |
| CURLcode pem_read; | |
| struct dynbuf buf; | |
| - | char unsigned *pem_ptr = NULL; |
| + | unsigned char *pem_ptr = NULL; |
| size_t left; | |
| FILE *fp = curlx_fopen(pinnedpubkey, "rb"); | |
| if(!fp) | |