summaryrefslogtreecommitdiff
path: root/tests/privkey-keygen.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2016-10-21 04:00:21 +0300
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2018-06-23 12:20:15 +0300
commitd7a0d1a128322de62cbee2157589ddcd36f20a03 (patch)
tree8d44c659c84c1373b8137cec016a95ba9daca4d4 /tests/privkey-keygen.c
parentc77aa89206d633aa8218e245babb98ac195281e2 (diff)
downloadgnutls-d7a0d1a128322de62cbee2157589ddcd36f20a03.tar.gz
Add declarations to support GOST public keys
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'tests/privkey-keygen.c')
-rw-r--r--tests/privkey-keygen.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/privkey-keygen.c b/tests/privkey-keygen.c
index 885cf58e57..7762938dcf 100644
--- a/tests/privkey-keygen.c
+++ b/tests/privkey-keygen.c
@@ -119,6 +119,12 @@ void doit(void)
algorithm == GNUTLS_PK_ECDH_X25519)
continue;
+ /* Unsupported for now */
+ if (algorithm == GNUTLS_PK_GOST_01 ||
+ algorithm == GNUTLS_PK_GOST_12_256 ||
+ algorithm == GNUTLS_PK_GOST_12_512)
+ continue;
+
ret = gnutls_x509_privkey_init(&pkey);
if (ret < 0) {
fail("gnutls_x509_privkey_init: %d\n",