Skip to content

Commit faee89c

Browse files
committed
Verify the remote server cert by default, as per the documentation.
1 parent 1377408 commit faee89c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logsrvd/sendlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,7 @@ main(int argc, char *argv[])
18951895
#if defined(HAVE_OPENSSL)
18961896
if (cert != NULL) {
18971897
if (!tls_client_setup(closure->sock, ca_bundle, cert, key, NULL,
1898-
NULL, NULL, verify_server, false, &closure->tls_client))
1898+
NULL, NULL, true, verify_server, &closure->tls_client))
18991899
goto bad;
19001900
} else
19011901
#endif

0 commit comments

Comments
 (0)