diff options
author | Tobias Brunner <tobias@strongswan.org> | 2017-09-19 17:15:18 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-11-08 16:48:10 +0100 |
commit | a413571f3bd9c94db02d8a3c026e87d57f5d120a (patch) | |
tree | 52332d04efebc2221861ffbc76ff730a6a47c980 /src/libstrongswan/plugins/x509/x509_cert.c | |
parent | 677072accc0ba8671ae8fab19da7d07613cce8ed (diff) | |
download | strongswan-a413571f3bd9c94db02d8a3c026e87d57f5d120a.tar.bz2 strongswan-a413571f3bd9c94db02d8a3c026e87d57f5d120a.tar.xz |
public-key: Add optional parameters argument to verify() method
Diffstat (limited to 'src/libstrongswan/plugins/x509/x509_cert.c')
-rw-r--r-- | src/libstrongswan/plugins/x509/x509_cert.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/x509/x509_cert.c b/src/libstrongswan/plugins/x509/x509_cert.c index dea2c7041..c626859ae 100644 --- a/src/libstrongswan/plugins/x509/x509_cert.c +++ b/src/libstrongswan/plugins/x509/x509_cert.c @@ -1719,7 +1719,8 @@ METHOD(certificate_t, issued_by, bool, { return FALSE; } - valid = key->verify(key, scheme, this->tbsCertificate, this->signature); + valid = key->verify(key, scheme, NULL, this->tbsCertificate, + this->signature); key->destroy(key); if (valid && schemep) { |