diff options
Diffstat (limited to 'src/lib/libcrypto/gost/gostr341001_ameth.c')
-rw-r--r-- | src/lib/libcrypto/gost/gostr341001_ameth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/gost/gostr341001_ameth.c b/src/lib/libcrypto/gost/gostr341001_ameth.c index f917827f7a..e8e8c8aa82 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.23 2024/01/04 16:41:56 tb Exp $ */ | 1 | /* $OpenBSD: gostr341001_ameth.c,v 1.24 2024/01/04 17:01:26 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 |
@@ -683,8 +683,8 @@ pkey_ctrl_gost01(EVP_PKEY *pkey, int op, long arg1, void *arg2) | |||
683 | } | 683 | } |
684 | 684 | ||
685 | const EVP_PKEY_ASN1_METHOD gostr01_asn1_meth = { | 685 | const EVP_PKEY_ASN1_METHOD gostr01_asn1_meth = { |
686 | .base_method = &gostr01_asn1_meth, | ||
686 | .pkey_id = EVP_PKEY_GOSTR01, | 687 | .pkey_id = EVP_PKEY_GOSTR01, |
687 | .pkey_base_id = EVP_PKEY_GOSTR01, | ||
688 | .pkey_flags = ASN1_PKEY_SIGPARAM_NULL, | 688 | .pkey_flags = ASN1_PKEY_SIGPARAM_NULL, |
689 | 689 | ||
690 | .pem_str = "GOST2001", | 690 | .pem_str = "GOST2001", |
@@ -713,14 +713,14 @@ const EVP_PKEY_ASN1_METHOD gostr01_asn1_meth = { | |||
713 | }; | 713 | }; |
714 | 714 | ||
715 | const EVP_PKEY_ASN1_METHOD gostr12_256_asn1_meth = { | 715 | const EVP_PKEY_ASN1_METHOD gostr12_256_asn1_meth = { |
716 | .base_method = &gostr01_asn1_meth, | ||
716 | .pkey_id = EVP_PKEY_GOSTR12_256, | 717 | .pkey_id = EVP_PKEY_GOSTR12_256, |
717 | .pkey_base_id = EVP_PKEY_GOSTR01, | ||
718 | .pkey_flags = ASN1_PKEY_ALIAS, | 718 | .pkey_flags = ASN1_PKEY_ALIAS, |
719 | }; | 719 | }; |
720 | 720 | ||
721 | const EVP_PKEY_ASN1_METHOD gostr12_512_asn1_meth = { | 721 | const EVP_PKEY_ASN1_METHOD gostr12_512_asn1_meth = { |
722 | .base_method = &gostr01_asn1_meth, | ||
722 | .pkey_id = EVP_PKEY_GOSTR12_512, | 723 | .pkey_id = EVP_PKEY_GOSTR12_512, |
723 | .pkey_base_id = EVP_PKEY_GOSTR01, | ||
724 | .pkey_flags = ASN1_PKEY_ALIAS, | 724 | .pkey_flags = ASN1_PKEY_ALIAS, |
725 | }; | 725 | }; |
726 | 726 | ||