Bugfix: avoid opening CAfile when it's NULL.

This commit is contained in:
Bodo Möller 1999-09-24 20:27:20 +00:00
parent 0ca6d7c6b1
commit 4ad378ea43

View file

@ -699,7 +699,8 @@ bad:
SSL_CTX_set_session_id_context(ctx,(void*)&s_server_session_id_context,
sizeof s_server_session_id_context);
SSL_CTX_set_client_CA_list(ctx,SSL_load_client_CA_file(CAfile));
if (CAfile != NULL)
SSL_CTX_set_client_CA_list(ctx,SSL_load_client_CA_file(CAfile));
BIO_printf(bio_s_out,"ACCEPT\n");
if (www)