From: Arran Cudbard-Bell Date: Mon, 14 Sep 2015 16:22:56 +0000 (+0100) Subject: No ocsp_ok label either X-Git-Tag: release_3_0_10~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de70e8fe585579d70acf0a5116eef94132500594;p=thirdparty%2Ffreeradius-server.git No ocsp_ok label either --- diff --git a/src/main/tls.c b/src/main/tls.c index e78aec58723..1e1e4f50ec9 100644 --- a/src/main/tls.c +++ b/src/main/tls.c @@ -1442,7 +1442,7 @@ static int ocsp_check(REQUEST *request, X509_STORE *store, X509 *issuer_cert, X5 if (!host || !port || !path) { RWDEBUG("ocsp: Host or port or path missing from configured URL \"%s\". Not doing OCSP", url); ocsp_ok = 2; - goto ocsp_ok; + goto ocsp_skip; } } else { int ret; @@ -1460,7 +1460,7 @@ static int ocsp_check(REQUEST *request, X509_STORE *store, X509 *issuer_cert, X5 } RWDEBUG("ocsp: No OCSP URL in certificate. Not doing OCSP"); ocsp_ok = 2; - goto ocsp_ok; + goto ocsp_skip; case 1: break;