Skip to content

Commit

Permalink
Avoid FreeRADIUS crashes when OCSP URL is bad URL
Browse files Browse the repository at this point in the history
  • Loading branch information
jonastsaiorz committed Jul 24, 2024
1 parent 9ee486a commit 83048ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -2691,7 +2691,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) {
Expand Down

0 comments on commit 83048ae

Please sign in to comment.