fix warning unused-but-set-variable 'alg_k' (no-dh and no-ec)
authorCristian Stoica <cristian.stoica@nxp.com>
Wed, 29 Jun 2016 15:34:33 +0000 (18:34 +0300)
committerRichard Levitte <levitte@openssl.org>
Fri, 27 Apr 2018 04:00:10 +0000 (06:00 +0200)
commit60ced074c48fa265b3eccf91a89dec374b4c7e49
treea5b59ee98e9f1ff885114ed2ddd6262c075522c0
parent76b8b6932d17414b460f72e15ba8050d609ce768
fix warning unused-but-set-variable 'alg_k' (no-dh and no-ec)

This patch fixes the following warning when OpenSSL is configured with
no-dh and no-ec:

./Configure no-ec no-dh linux-x86_64

...
s3_lib.c: In function 'ssl3_get_req_cert_type':
s3_lib.c:4234:19: warning: variable 'alg_k' set but not used [-Wunused-but-set-variable]
     unsigned long alg_k;

CLA: trivial
Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6087)
ssl/s3_lib.c