security fix: failure to load the certificate file is *not* OK ...
This commit is contained in:
parent
ef41349035
commit
3447694c2b
|
@ -147,7 +147,7 @@ verify_cert( const server_conf_t *conf, Socket_t *sock )
|
|||
if (!(fp = fopen( conf->cert_file, "rt" ))) {
|
||||
error( "Unable to load CertificateFile '%s': %s\n",
|
||||
conf->cert_file, strerror( errno ) );
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
err = -1;
|
||||
for (lcert = 0; READ_X509_KEY( fp, &lcert ); )
|
||||
|
|
Loading…
Reference in New Issue
Block a user