aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/x509/x509_ocsp_response.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-09-19 17:15:18 +0200
committerTobias Brunner <tobias@strongswan.org>2017-11-08 16:48:10 +0100
commita413571f3bd9c94db02d8a3c026e87d57f5d120a (patch)
tree52332d04efebc2221861ffbc76ff730a6a47c980 /src/libstrongswan/plugins/x509/x509_ocsp_response.c
parent677072accc0ba8671ae8fab19da7d07613cce8ed (diff)
downloadstrongswan-a413571f3bd9c94db02d8a3c026e87d57f5d120a.tar.bz2
strongswan-a413571f3bd9c94db02d8a3c026e87d57f5d120a.tar.xz
public-key: Add optional parameters argument to verify() method
Diffstat (limited to 'src/libstrongswan/plugins/x509/x509_ocsp_response.c')
-rw-r--r--src/libstrongswan/plugins/x509/x509_ocsp_response.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/x509/x509_ocsp_response.c b/src/libstrongswan/plugins/x509/x509_ocsp_response.c
index 140e9bfa9..fd0d84e48 100644
--- a/src/libstrongswan/plugins/x509/x509_ocsp_response.c
+++ b/src/libstrongswan/plugins/x509/x509_ocsp_response.c
@@ -753,7 +753,8 @@ METHOD(certificate_t, issued_by, bool,
{
return FALSE;
}
- valid = key->verify(key, scheme, this->tbsResponseData, this->signature);
+ valid = key->verify(key, scheme, NULL, this->tbsResponseData,
+ this->signature);
key->destroy(key);
if (valid && schemep)
{