From 5755befda6d10669859ceb2d47cd96e49123b2c8 Mon Sep 17 00:00:00 2001 From: Kirill Rodriguez Date: Tue, 15 Oct 2024 12:44:09 +0100 Subject: [PATCH] fix a Werror error --- test/regress_ssl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/regress_ssl.c b/test/regress_ssl.c index e2709eb8..484d1be2 100644 --- a/test/regress_ssl.c +++ b/test/regress_ssl.c @@ -172,9 +172,10 @@ respond_to_number(struct bufferevent *bev, void *ctx) struct evbuffer *b = bufferevent_get_input(bev); char *line; int n; - +#ifdef SSL_renegotiate enum regress_openssl_type type; type = (enum regress_openssl_type)ctx; +#endif line = evbuffer_readln(b, NULL, EVBUFFER_EOL_LF); if (! line)