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/openssl/openssl_x509.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/openssl/openssl_x509.c')
-rw-r--r-- | src/libstrongswan/plugins/openssl/openssl_x509.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/openssl/openssl_x509.c b/src/libstrongswan/plugins/openssl/openssl_x509.c index 0d0b997ac..7e077e74d 100644 --- a/src/libstrongswan/plugins/openssl/openssl_x509.c +++ b/src/libstrongswan/plugins/openssl/openssl_x509.c @@ -430,7 +430,8 @@ METHOD(certificate_t, issued_by, bool, tbs = openssl_i2chunk(X509_CINF, this->x509->cert_info); #endif X509_get0_signature(&sig, NULL, this->x509); - valid = key->verify(key, this->scheme, tbs, openssl_asn1_str2chunk(sig)); + valid = key->verify(key, this->scheme, NULL, tbs, + openssl_asn1_str2chunk(sig)); free(tbs.ptr); key->destroy(key); if (valid && scheme) |