aboutsummaryrefslogtreecommitdiff
path: root/src/feature/rend
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2021-02-08 13:03:07 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2021-02-08 13:03:07 +0200
commitd4255253b0b417b8b02d7ba40dc4ba06b5d00d11 (patch)
tree6cc989d11072c6c630b94e031e803e0eb73eb35d /src/feature/rend
parent60823d261c9639975e4f4b029909cb37639c91c4 (diff)
parent22f55fdb2a8455b344ae094ee2706710a2b4d941 (diff)
downloadtor-d4255253b0b417b8b02d7ba40dc4ba06b5d00d11.tar.gz
tor-d4255253b0b417b8b02d7ba40dc4ba06b5d00d11.zip
Merge remote-tracking branch 'tor-gitlab/mr/212'
Diffstat (limited to 'src/feature/rend')
-rw-r--r--src/feature/rend/rendcommon.c2
-rw-r--r--src/feature/rend/rendservice.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/feature/rend/rendcommon.c b/src/feature/rend/rendcommon.c
index 775d487805..f00dfee68a 100644
--- a/src/feature/rend/rendcommon.c
+++ b/src/feature/rend/rendcommon.c
@@ -548,6 +548,8 @@ rend_encode_v2_descriptors(smartlist_t *descs_out,
ipos = ipos_encrypted;
ipos_len = ipos_encrypted_len;
break;
+ case REND_V3_AUTH:
+ break; /* v3 service, break. */
default:
log_warn(LD_REND|LD_BUG, "Unrecognized authorization type %d",
(int)auth_type);
diff --git a/src/feature/rend/rendservice.c b/src/feature/rend/rendservice.c
index a2be900e2a..add25579b3 100644
--- a/src/feature/rend/rendservice.c
+++ b/src/feature/rend/rendservice.c
@@ -3818,6 +3818,7 @@ upload_service_descriptor(rend_service_t *service)
smartlist_clear(client_cookies);
switch (service->auth_type) {
case REND_NO_AUTH:
+ case REND_V3_AUTH:
/* Do nothing here. */
break;
case REND_BASIC_AUTH: