From bc2cbfea1ed4a5c6192cc86117dbc6d306b4fdaf Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 5 Oct 2025 07:19:24 -0700 Subject: fixes #2158 Implement support for NNG_OPT_TLS_PEER_CN for WolfSSL This also provides an implementation for getting ALT names, although nothing uses that yet. We plan to provide a new certificate API to replace these with a nicer API, as obtaining the full list of certs may be unreasonable. --- include/nng/nng.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/nng/nng.h b/include/nng/nng.h index a71a3f53..2cbe675f 100644 --- a/include/nng/nng.h +++ b/include/nng/nng.h @@ -73,7 +73,7 @@ extern "C" { // NNG_PROTOCOL_NUMBER is used by protocol headers to calculate their // protocol number from a major and minor number. Applications should // probably not need to use this. -#define NNG_PROTOCOL_NUMBER(maj, min) (((x) *16) + (y)) +#define NNG_PROTOCOL_NUMBER(maj, min) (((x) * 16) + (y)) // Types common to nng. -- cgit v1.2.3-70-g09d2