diff options
author | Nikolay Morozov <nmorozoff77@yandex.ru> | 2020-02-27 14:28:07 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@users.noreply.github.com> | 2020-02-29 21:57:21 +0300 |
commit | d1cf560c742d85ab1986fb0cabe0f9e3a1f0eb23 (patch) | |
tree | cbea4f290be794da54bc2038e0ab933fed8cefc9 /gost_ec_keyx.c | |
parent | 0906436e33bdd8dabf07d494e3d6d5184cc02246 (diff) | |
download | gost-engine-d1cf560c742d85ab1986fb0cabe0f9e3a1f0eb23.zip gost-engine-d1cf560c742d85ab1986fb0cabe0f9e3a1f0eb23.tar.gz gost-engine-d1cf560c742d85ab1986fb0cabe0f9e3a1f0eb23.tar.bz2 |
cppcheck: Variable is reassigned a value before the old one has been used.
Plus some minor chnages
- function defenition doen't match function declaration
- Consecutive break statement is unnecessary.
- Type missmatch in format string
Diffstat (limited to 'gost_ec_keyx.c')
-rw-r--r-- | gost_ec_keyx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gost_ec_keyx.c b/gost_ec_keyx.c index 340ca36..de52dec 100644 --- a/gost_ec_keyx.c +++ b/gost_ec_keyx.c @@ -152,7 +152,6 @@ static int gost_keg(const unsigned char *ukm_source, int pkey_nid, OPENSSL_cleanse(tmpkey, 32); return (keylen) ? keylen : 0; - break; } default: return 0; |