blob: 17c3314a88861b0ba75c19a1c5031a902132a74f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/libs/sofia-sip/libsofia-sip-ua/tport/tport_tls.c b/libs/sofia-sip/libsofia-sip-ua/tport/tport_tls.c
index c872336..3160f48 100644
--- a/libs/sofia-sip/libsofia-sip-ua/tport/tport_tls.c
+++ b/libs/sofia-sip/libsofia-sip-ua/tport/tport_tls.c
@@ -516,7 +516,7 @@ tls_t *tls_init_master(tls_issues_t *ti)
if (ti->CAfile != NULL) {
SSL_CTX_set_client_CA_list(tls->ctx,
SSL_load_client_CA_file(ti->CAfile));
- if (tls->ctx->client_CA == NULL)
+ if (SSL_CTX_get_client_CA_list(tls->ctx) == NULL)
tls_log_errors(3, "tls_init_master", 0);
}
|