summaryrefslogtreecommitdiffstats
path: root/apps/s_cb.c
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2018-05-03 17:31:47 +0200
committerMatt Caswell <matt@openssl.org>2018-05-30 10:14:04 +0200
commitf3a246c63eefc1e5da434df5dc7f48795a12c38b (patch)
tree77e093afa371e53926ee9f8177ed3517fc3e8d27 /apps/s_cb.c
parentSend GOST SignatureAlgorithms when TLS 1.2 in use (diff)
downloadopenssl-f3a246c63eefc1e5da434df5dc7f48795a12c38b.tar.xz
openssl-f3a246c63eefc1e5da434df5dc7f48795a12c38b.zip
Text description of GOST signature algorithms
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6168)
Diffstat (limited to 'apps/s_cb.c')
-rw-r--r--apps/s_cb.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/s_cb.c b/apps/s_cb.c
index 820491a037..46b3864284 100644
--- a/apps/s_cb.c
+++ b/apps/s_cb.c
@@ -234,6 +234,15 @@ static const char *get_sigtype(int nid)
case NID_ED448:
return "Ed448";
+ case NID_id_GostR3410_2001:
+ return "gost2001";
+
+ case NID_id_GostR3410_2012_256:
+ return "gost2012_256";
+
+ case NID_id_GostR3410_2012_512:
+ return "gost2012_512";
+
default:
return NULL;
}