summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/gost/gostr341001_ameth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/gost/gostr341001_ameth.c b/src/lib/libcrypto/gost/gostr341001_ameth.c
index d4c3d8a9c7..ce203a6c21 100644
--- a/src/lib/libcrypto/gost/gostr341001_ameth.c
+++ b/src/lib/libcrypto/gost/gostr341001_ameth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: gostr341001_ameth.c,v 1.18 2021/12/12 21:30:14 tb Exp $ */ 1/* $OpenBSD: gostr341001_ameth.c,v 1.19 2021/12/26 15:38:49 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> 3 * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
4 * Copyright (c) 2005-2006 Cryptocom LTD 4 * Copyright (c) 2005-2006 Cryptocom LTD
@@ -365,7 +365,8 @@ pub_print_gost01(BIO *out, const EVP_PKEY *pkey, int indent, ASN1_PCTX *pctx)
365 BIO_printf(out, "X:"); 365 BIO_printf(out, "X:");
366 BN_print(out, X); 366 BN_print(out, X);
367 BIO_printf(out, "\n"); 367 BIO_printf(out, "\n");
368 BIO_indent(out, indent + 3, 128); 368 if (BIO_indent(out, indent + 3, 128) == 0)
369 goto err;
369 BIO_printf(out, "Y:"); 370 BIO_printf(out, "Y:");
370 BN_print(out, Y); 371 BN_print(out, Y);
371 BIO_printf(out, "\n"); 372 BIO_printf(out, "\n");