diff options
Diffstat (limited to 'openssl.c')
-rw-r--r-- | openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ SSL_CTX* ssl_newClientCtx(const char *cabundle) if (ctx == NULL) ssl_printErrors("newClientCtx: ctx is NULL"); SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2); SSL_CTX_set_mode(ctx, SSL_MODE_ENABLE_PARTIAL_WRITE); // | SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER - if (cabundle != NULL && cabundle[0] != '\0') { + if (cabundle != NULL && cabundle[0] != '\0' && strcmp(cabundle, "*") != 0) { if (SSL_CTX_load_verify_locations(ctx, cabundle, NULL) == 0) { ssl_printErrors("Loading trusted certs failed"); exit(1); |