1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

genec: show correct nid when not allowed

As noticed by gcc11 warning

https://github.com/warmcat/libwebsockets/pull/2551
This commit is contained in:
Rosen Penev 2022-02-01 09:13:11 +00:00 committed by Andy Green
parent 2148becb3a
commit 2f93a8b178

View file

@ -94,7 +94,7 @@ lws_genec_confirm_curve_allowed_by_tls_id(const char *allowed, int id,
}
} while (e > 0);
lwsl_err("%s: unsupported curve group nid %d\n", __func__, n);
lwsl_err("%s: unsupported curve group nid %d\n", __func__, id);
return -1;
}