aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/pubkey_speed.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 /scripts/pubkey_speed.c
parent677072accc0ba8671ae8fab19da7d07613cce8ed (diff)
downloadstrongswan-a413571f3bd9c94db02d8a3c026e87d57f5d120a.tar.bz2
strongswan-a413571f3bd9c94db02d8a3c026e87d57f5d120a.tar.xz
public-key: Add optional parameters argument to verify() method
Diffstat (limited to 'scripts/pubkey_speed.c')
-rw-r--r--scripts/pubkey_speed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pubkey_speed.c b/scripts/pubkey_speed.c
index 66279ada3..8ccaa0bf8 100644
--- a/scripts/pubkey_speed.c
+++ b/scripts/pubkey_speed.c
@@ -135,7 +135,7 @@ int main(int argc, char *argv[])
start_timing(&timing);
for (round = 0; round < rounds; round++)
{
- if (!public->verify(public, scheme, data, sigs[round]))
+ if (!public->verify(public, scheme, NULL, data, sigs[round]))
{
printf("signature verification failed\n");
exit(1);