diff --git a/src/ssl_sock.c b/src/ssl_sock.c index 8d3434a11..2c7892c16 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -4846,10 +4846,8 @@ static int crtlist_parse_file(char *file, struct bind_conf *bind_conf, struct pr else ckchs = ckchs_load_cert_file(crt_path, 1, err); } - if (ckchs == NULL) { + if (ckchs == NULL) cfgerr |= ERR_ALERT | ERR_FATAL; - goto error; - } entry = malloc(sizeof(*entry)); if (entry == NULL) {