[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[openssl-gost] [gost-engine/engine] 4c5313: Fix gcc12 -fanalyzer warning
Branch: refs/heads/master
Home: https://github.com/gost-engine/engine
Commit: 4c531340c8ca3cff32e8c8790e1caf5ef7dd5dbe
https://github.com/gost-engine/engine/commit/4c531340c8ca3cff32e8c8790e1caf5ef7dd5dbe
Author: Vitaly Chikunov <vt@altlinux.org>
Date: 2022-02-08 (Tue, 08 Feb 2022)
Changed paths:
M test_sign.c
Log Message:
-----------
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>