You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
671 B

  1. From 1f9925b44379941065690f0dce8ca0c79414b9f1 Mon Sep 17 00:00:00 2001
  2. From: Rosen Penev <rosenp@gmail.com>
  3. Date: Tue, 1 Feb 2022 09:13:11 +0000
  4. Subject: [PATCH] genec: show correct nid when not allowed
  5. As noticed by gcc11 warning
  6. https://github.com/warmcat/libwebsockets/pull/2551
  7. ---
  8. lib/tls/lws-genec-common.c | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. --- a/lib/tls/lws-genec-common.c
  11. +++ b/lib/tls/lws-genec-common.c
  12. @@ -94,7 +94,7 @@ lws_genec_confirm_curve_allowed_by_tls_i
  13. }
  14. } while (e > 0);
  15. - lwsl_err("%s: unsupported curve group nid %d\n", __func__, n);
  16. + lwsl_err("%s: unsupported curve group nid %d\n", __func__, id);
  17. return -1;
  18. }