diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-07-12 08:56:18 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-02-19 15:29:33 +0100 |
commit | b5ef35f789b9be6b4c89dd0f19450dd724288d62 (patch) | |
tree | 380298911dd3cabece71bd56dc99153ae32d50c8 /tests/sign-verify-ext.c | |
parent | 10ca2ee958fecab5a1784b3e4103c7cd4fd3c76f (diff) | |
download | gnutls-b5ef35f789b9be6b4c89dd0f19450dd724288d62.tar.gz |
tests: added signature tests for ECDSA-SECP256R1-SHA256
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests/sign-verify-ext.c')
-rw-r--r-- | tests/sign-verify-ext.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/sign-verify-ext.c b/tests/sign-verify-ext.c index 6c1d0de804..eecb1f357b 100644 --- a/tests/sign-verify-ext.c +++ b/tests/sign-verify-ext.c @@ -141,12 +141,11 @@ void doit(void) gnutls_global_set_log_level(6); for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) { - if (debug) - success("loop %d: %s\n", (int) i, tests[i].name); - if (tests[i].pk == GNUTLS_PK_RSA_PSS || tests[i].pk == GNUTLS_PK_EDDSA_ED25519) continue; + success("testing: %s - %s\n", tests[i].name, gnutls_sign_algorithm_get_name(tests[i].sigalgo)); + if (tests[i].digest == GNUTLS_DIG_SHA1) { hash_data = &sha1_hash_data; } else { |