]> www.wagner.pp.ru Git - openssl-gost/engine.git/commit
Fix gcc12 -fanalyzer warning
authorVitaly Chikunov <vt@altlinux.org>
Tue, 8 Feb 2022 08:31:54 +0000 (11:31 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Tue, 8 Feb 2022 09:06:41 +0000 (12:06 +0300)
commit4c531340c8ca3cff32e8c8790e1caf5ef7dd5dbe
tree74fe385acf178518bb3cd9dcb786e896f901d97e
parent374627ab520fca0a189d56a747abbff7e2b67bd7
Fix gcc12 -fanalyzer warning

GCC do not understand that `algname` cannot be NULL. Add dummy default case to
cover all execution paths.

Fixes https://github.com/gost-engine/engine/issues/389
Tested-by: Ilya Shipitsin <chipitsine@gmail.com>
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
test_sign.c