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:
parent
2148becb3a
commit
2f93a8b178
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue