[tor-commits] [tor/master] Document REND_V3_AUTH flag

asn at torproject.org asn at torproject.org
Mon Feb 8 11:35:16 UTC 2021


commit 22f55fdb2a8455b344ae094ee2706710a2b4d941
Author: Neel Chauhan <neel at neelc.org>
Date:   Wed Feb 3 10:25:46 2021 -0800

    Document REND_V3_AUTH flag
---
 src/core/or/or.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/core/or/or.h b/src/core/or/or.h
index 646dbf2c3a..182ebc48eb 100644
--- a/src/core/or/or.h
+++ b/src/core/or/or.h
@@ -404,7 +404,8 @@ typedef enum rend_auth_type_t {
   REND_NO_AUTH      = 0,
   REND_BASIC_AUTH   = 1,
   REND_STEALTH_AUTH = 2,
-  REND_V3_AUTH      = 3,
+  REND_V3_AUTH      = 3, /* Dummy flag to allow adding v3 services on the
+                          * control port */
 } rend_auth_type_t;
 
 /** Client-side configuration of authorization for a hidden service. */





More information about the tor-commits mailing list