diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-02-02 13:58:20 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2017-02-24 16:37:24 +0200 |
commit | 6d71eda263a6c97484c975073979a005a879cf79 (patch) | |
tree | 3a6fd2f7043124ccce58a83ccdaeb1156fbc5a7b /src/or/hs_descriptor.h | |
parent | efa5bbaba07d20d1aacff7d1d2a5fe08a6ec2d72 (diff) | |
download | tor-6d71eda263a6c97484c975073979a005a879cf79.tar.gz tor-6d71eda263a6c97484c975073979a005a879cf79.zip |
prop224: Rename auth_required HS desc field to intro_auth_required.
And remove "password" type from the list of intro auths.
Diffstat (limited to 'src/or/hs_descriptor.h')
-rw-r--r-- | src/or/hs_descriptor.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/or/hs_descriptor.h b/src/or/hs_descriptor.h index b520d24471..6b888c1822 100644 --- a/src/or/hs_descriptor.h +++ b/src/or/hs_descriptor.h @@ -68,8 +68,7 @@ /* Type of authentication in the descriptor. */ typedef enum { - HS_DESC_AUTH_PASSWORD = 1, - HS_DESC_AUTH_ED25519 = 2, + HS_DESC_AUTH_ED25519 = 1 } hs_desc_auth_type_t; /* Type of encryption key in the descriptor. */ @@ -132,7 +131,7 @@ typedef struct hs_desc_encrypted_data_t { /* A list of authentication types that a client must at least support one * in order to contact the service. Contains NULL terminated strings. */ - smartlist_t *auth_types; + smartlist_t *intro_auth_types; /* Is this descriptor a single onion service? */ unsigned int single_onion_service : 1; |