mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
pki: Generate internal error OCSP response if no signer certificate is found
That can happen if a request is sent to the wrong OCSP server.
This commit is contained in:
parent
05a1f5b9c5
commit
945be4ece5
@ -528,6 +528,11 @@ gen:
|
||||
ocsp_status = OCSP_INTERNALERROR;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
DBG1(DBG_APP, "no signer certificate found");
|
||||
ocsp_status = OCSP_INTERNALERROR;
|
||||
}
|
||||
DBG1(DBG_APP, "ocspResponseStatus: %N", ocsp_status_names, ocsp_status);
|
||||
|
||||
enumerator = responses->create_enumerator(responses);
|
||||
|
Loading…
x
Reference in New Issue
Block a user