Fix the build warning under OPENSSL_NO_GOST
authorQin Long <qin.long@intel.com>
Wed, 15 Mar 2017 15:43:20 +0000 (23:43 +0800)
committerRichard Levitte <levitte@openssl.org>
Wed, 29 Mar 2017 05:37:02 +0000 (07:37 +0200)
commitdc8da7b1b8ba276f179ea1232c9df764dcd38775
tree7f067ee21c29795279e082cca04dad608602ada8
parentcff55b90e95e1fa6c90154f93f12363e761d88c7
Fix the build warning under OPENSSL_NO_GOST

Variable 'pktype' was set but not used under OPENSSL_NO_GOST. This change
will fix the build warning under [-Werror=unused-but-set-variable].

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2961)
ssl/statem/statem_lib.c