diff options
Diffstat (limited to 'tests/x509sign-verify-common.h')
-rw-r--r-- | tests/x509sign-verify-common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/x509sign-verify-common.h b/tests/x509sign-verify-common.h index 80aea5cd63..6b7498586b 100644 --- a/tests/x509sign-verify-common.h +++ b/tests/x509sign-verify-common.h @@ -114,9 +114,10 @@ void test_sig(gnutls_pk_algorithm_t pk, unsigned hash, unsigned bits) vflags |= GNUTLS_VERIFY_ALLOW_SIGN_WITH_SHA1; } else if (hash == GNUTLS_DIG_SHA256) hash_data = &sha256_data; - else if (hash == GNUTLS_DIG_GOSTR_94) + else if (hash == GNUTLS_DIG_GOSTR_94) { hash_data = &gostr94_data; - else if (hash == GNUTLS_DIG_STREEBOG_256) + vflags |= GNUTLS_VERIFY_ALLOW_BROKEN; + } else if (hash == GNUTLS_DIG_STREEBOG_256) hash_data = &streebog256_data; else if (hash == GNUTLS_DIG_STREEBOG_512) hash_data = &streebog512_data; |