File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1498,16 +1498,9 @@ relpTcpInitTLS(relpTcp_t *const pThis)
14981498 (char * )"relpTcpInitTLS: Successfully initialized CA Certificate #2\n" );
14991499 }
15001500
1501- // Init local System default certificate storage instead.
1502- if (SSL_CTX_set_default_verify_paths (ctx ) != 1 ) {
1503- callOnErr (pThis , (char * )"relpTcpInitTLS: Error, CA default certificate storage "
1504- "could not be set." , RELP_RET_ERR_TLS_SETUP );
1505- /* Output Additional OpenSSL output */
1506- relpTcpLastSSLErrorMsg (0 , pThis , "relpTcpInitTLS" );
1507- ABORT_FINALIZE (RELP_RET_ERR_TLS_SETUP );
1508- } else
1509- pThis -> pEngine -> dbgprint ((char * )"relpTcpInitTLS: Successfully initialized default "
1510- "CA certificate storage\n" );
1501+ if (pThis -> ownCertFile == NULL ) {
1502+ pThis -> pEngine -> dbgprint ((char * )"relpTcpInitTLS: CA certificate MISSING\n" );
1503+ }
15111504 }
15121505finalize_it :
15131506 LEAVE_RELPFUNC ;
You can’t perform that action at this time.
0 commit comments