← Commit list

d6372e60e5

Viktor Szakats
Viktor Szakats
2026-04-23
SUCCESS Duration: 382s

Subject

vtls: fix comment typos and tidy up a type

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/vtls/vtls.c+3 -3
@@ -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)