diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-02-21 10:51:49 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-02-21 10:51:49 +0100 |
commit | c1b619f1cb3fc0335a237e1e423d5ced1433dad7 (patch) | |
tree | cd533f7a307d1cd35a33d3fe1fca0fd2f71fafff /tests/cve-2009-1415.c | |
parent | 0b84e20700cc2c3654719e862beea77093ccdb64 (diff) | |
download | gnutls-c1b619f1cb3fc0335a237e1e423d5ced1433dad7.tar.gz |
tests: modified tests with obsolete APIs with their replacement API
Diffstat (limited to 'tests/cve-2009-1415.c')
-rw-r--r-- | tests/cve-2009-1415.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cve-2009-1415.c b/tests/cve-2009-1415.c index 8f27ded013..aac922e124 100644 --- a/tests/cve-2009-1415.c +++ b/tests/cve-2009-1415.c @@ -103,7 +103,7 @@ int main(void) if (ret < 0) return 1; - ret = gnutls_pubkey_verify_data(pubkey, 0, &data, &sig); + ret = gnutls_pubkey_verify_data2(pubkey, GNUTLS_SIGN_DSA_SHA1, 0, &data, &sig); if (ret < 0 && ret != GNUTLS_E_PK_SIG_VERIFY_FAILED) return 1; |