fix a Werror error

This commit is contained in:
Kirill Rodriguez 2024-10-15 12:44:09 +01:00
parent 370d99244d
commit 5755befda6
No known key found for this signature in database
GPG Key ID: 2AA85EC2AD7F85EA

View File

@ -172,9 +172,10 @@ respond_to_number(struct bufferevent *bev, void *ctx)
struct evbuffer *b = bufferevent_get_input(bev); struct evbuffer *b = bufferevent_get_input(bev);
char *line; char *line;
int n; int n;
#ifdef SSL_renegotiate
enum regress_openssl_type type; enum regress_openssl_type type;
type = (enum regress_openssl_type)ctx; type = (enum regress_openssl_type)ctx;
#endif
line = evbuffer_readln(b, NULL, EVBUFFER_EOL_LF); line = evbuffer_readln(b, NULL, EVBUFFER_EOL_LF);
if (! line) if (! line)