From 99778897f483d6882d5104123e27e95eaac26837 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 17 Jan 2018 10:04:23 -0800 Subject: fixes #209 NNG_OPT_TLS_VERIFIED is busted fixes #210 Want NNG_OPT_TLS_* options for TLS transport fixes #212 Eliminate a_endpt member of aio --- src/nng.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/nng.h') diff --git a/src/nng.h b/src/nng.h index 0653d533..26e851eb 100644 --- a/src/nng.h +++ b/src/nng.h @@ -412,7 +412,8 @@ enum nng_flag_enum { // NNG_OPT_TLS_VERIFIED returns a single integer, indicating whether the peer // has been verified (1) or not (0). Typically this is read-only, and only -// available for pipes. +// available for pipes. This option may return incorrect results if peer +// authentication is disabled with `NNG_TLS_AUTH_MODE_NONE`. #define NNG_OPT_TLS_VERIFIED "tls-verified" // XXX: TBD: priorities, socket names, ipv4only -- cgit v1.2.3-70-g09d2