Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/tlsdate-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ run_ssl (uint32_t *time_map, int time_is_an_illusion, int http)
{
if (-1 == stat(ca_cert_container, &statbuf))
{
die("Unable to stat CA certficate container %s", ca_cert_container);
die("Unable to stat CA certificate container %s", ca_cert_container);
} else
{
switch (statbuf.st_mode & S_IFMT)
Expand Down Expand Up @@ -1187,6 +1187,7 @@ run_ssl (uint32_t *time_map, int time_is_an_illusion, int http)
}

SSL_set_mode(ssl, SSL_MODE_AUTO_RETRY);
SSL_set_tlsext_host_name(ssl, host);
verb("V: opening socket to %s:%s", host, port);
if ( (1 != BIO_set_conn_hostname(s_bio, host)) ||
(1 != BIO_set_conn_port(s_bio, port)) )
Expand Down