diff options
author | miod <> | 2014-11-18 21:18:56 +0000 |
---|---|---|
committer | miod <> | 2014-11-18 21:18:56 +0000 |
commit | 0f8384ef9d059bd66f02a757d30507c4017bfbde (patch) | |
tree | a5af9064ddb76378c3e7f51aae87fea116bd4e42 /src/lib/libcrypto/gost | |
parent | 11810f360e0b6061437423981acd1d93b22571c4 (diff) | |
download | openbsd-0f8384ef9d059bd66f02a757d30507c4017bfbde.tar.gz openbsd-0f8384ef9d059bd66f02a757d30507c4017bfbde.tar.bz2 openbsd-0f8384ef9d059bd66f02a757d30507c4017bfbde.zip |
Argh, another bug introduced in r1.3; Dmitry Eremin-Solenikov
Diffstat (limited to 'src/lib/libcrypto/gost')
-rw-r--r-- | src/lib/libcrypto/gost/gostr341001_ameth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/gost/gostr341001_ameth.c b/src/lib/libcrypto/gost/gostr341001_ameth.c index bf55190d5d..b5f49dbea7 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.4 2014/11/18 05:27:05 miod Exp $ */ | 1 | /* $OpenBSD: gostr341001_ameth.c,v 1.5 2014/11/18 21:18:56 miod 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 |
@@ -605,7 +605,7 @@ param_copy_gost01(EVP_PKEY *to, const EVP_PKEY *from) | |||
605 | GOST_R_KEY_PARAMETERS_MISSING); | 605 | GOST_R_KEY_PARAMETERS_MISSING); |
606 | return 0; | 606 | return 0; |
607 | } | 607 | } |
608 | if (eto) { | 608 | if (eto == NULL) { |
609 | eto = GOST_KEY_new(); | 609 | eto = GOST_KEY_new(); |
610 | if (eto == NULL) { | 610 | if (eto == NULL) { |
611 | GOSTerr(GOST_F_PARAM_COPY_GOST01, | 611 | GOSTerr(GOST_F_PARAM_COPY_GOST01, |