File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1484,23 +1484,7 @@ relpTcpInitTLS(relpTcp_t *const pThis)
14841484 } else
14851485 pThis -> pEngine -> dbgprint ((char * )"relpTcpInitTLS: Successfully initialized CA certificate #1\n" );
14861486 } else {
1487- /* Init CA from own Certificate */
1488- if ( pThis -> ownCertFile != NULL ) {
1489- if (SSL_CTX_load_verify_locations (ctx , pThis -> ownCertFile , NULL ) != 1 ) {
1490- callOnErr (pThis , (char * )"relpTcpInitTLS: Error, Certificate could not be accessed."
1491- " Is the file at the right path? And do we have the permissions?\n" ,
1492- RELP_RET_ERR_TLS_SETUP );
1493- /* Output Additional OpenSSL output */
1494- relpTcpLastSSLErrorMsg (0 , pThis , "relpTcpInitTLS" );
1495- ABORT_FINALIZE (RELP_RET_ERR_TLS_SETUP );
1496- } else
1497- pThis -> pEngine -> dbgprint (
1498- (char * )"relpTcpInitTLS: Successfully initialized CA Certificate #2\n" );
1499- }
1500-
1501- if (pThis -> ownCertFile == NULL ) {
1502- pThis -> pEngine -> dbgprint ((char * )"relpTcpInitTLS: CA certificate MISSING\n" );
1503- }
1487+ pThis -> pEngine -> dbgprint ((char * )"relpTcpInitTLS: CA certificate MISSING\n" );
15041488 }
15051489finalize_it :
15061490 LEAVE_RELPFUNC ;
You can’t perform that action at this time.
0 commit comments