From 68df8724a6f96e98bc6efb6e4208100d623f2529 Mon Sep 17 00:00:00 2001 From: Aren Sandersen Date: Fri, 13 Sep 2024 12:15:51 -0700 Subject: [PATCH] Don't crash when the OSCP URL is invalid --- src/main/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/tls.c b/src/main/tls.c index 736ee4182e78..fe5d4b03f905 100644 --- a/src/main/tls.c +++ b/src/main/tls.c @@ -2709,7 +2709,7 @@ static ocsp_status_t ocsp_check(REQUEST *request, X509_STORE *store, X509 *issue switch (ret) { case -1: RWDEBUG("(TLS) ocsp: Invalid URL in certificate. Not doing OCSP"); - break; + goto skipped; case 0: if (conf->ocsp_url) {