From d7a0d1a128322de62cbee2157589ddcd36f20a03 Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Fri, 21 Oct 2016 04:00:21 +0300 Subject: Add declarations to support GOST public keys Signed-off-by: Dmitry Eremin-Solenikov --- tests/privkey-keygen.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/privkey-keygen.c') 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", -- cgit v1.2.1