diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-12-04 13:33:07 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-12-04 13:33:07 +0200 |
commit | 2693bf47e8f98d38386d79e48d56ecbaaf781a02 (patch) | |
tree | 5c1ff222fb6b3e59c062d527cac111258a0e51df /src/test/test_hs_control.c | |
parent | 3b64c6b6fc1f41ccfae99b49a56f134ba6ee7662 (diff) | |
download | tor-2693bf47e8f98d38386d79e48d56ecbaaf781a02.tar.gz tor-2693bf47e8f98d38386d79e48d56ecbaaf781a02.zip |
control-port: Include HS address in ONION_CLIENT_AUTH_VIEW reply.
Diffstat (limited to 'src/test/test_hs_control.c')
-rw-r--r-- | src/test/test_hs_control.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/test/test_hs_control.c b/src/test/test_hs_control.c index d064f203a6..97a6f259e3 100644 --- a/src/test/test_hs_control.c +++ b/src/test/test_hs_control.c @@ -292,8 +292,10 @@ test_hs_control_good_onion_client_auth_add(void *arg) args = tor_strdup(""); #define VIEW_CORRECT_REPLY_NO_ADDR "250-ONION_CLIENT_AUTH_VIEW\r\n" \ - "250-CLIENT x25519:eIIdIGoSZwI2Q/lSzpf92akGki5I+PZIDz37MA5BhlA=\r\n"\ - "250-CLIENT x25519:iJ1tjKCrMAbiFT2bVrCjhbfMDnE1fpaRbIS5ZHKUvEQ=\r\n" \ + "250-CLIENT 2fvhjskjet3n5syd6yfg5lhvwcs62bojmthr35ko5bllr3iqdb4ctdyd " \ + "x25519:iJ1tjKCrMAbiFT2bVrCjhbfMDnE1fpaRbIS5ZHKUvEQ=\r\n" \ + "250-CLIENT jt4grrjwzyz3pjkylwfau5xnjaj23vxmhskqaeyfhrfylelw4hvxcuyd " \ + "x25519:eIIdIGoSZwI2Q/lSzpf92akGki5I+PZIDz37MA5BhlA=\r\n" \ "250 OK\r\n" retval = handle_control_command(&conn, (uint32_t) strlen(args), args); @@ -308,8 +310,9 @@ test_hs_control_good_onion_client_auth_add(void *arg) tor_strdup("jt4grrjwzyz3pjkylwfau5xnjaj23vxmhskqaeyfhrfylelw4hvxcuyd"); #define VIEW_CORRECT_REPLY_JT4 "250-ONION_CLIENT_AUTH_VIEW " \ - "jt4grrjwzyz3pjkylwfau5xnjaj23vxmhskqaeyfhrfylelw4hvxcuyd\r\n" \ - "250-CLIENT x25519:eIIdIGoSZwI2Q/lSzpf92akGki5I+PZIDz37MA5BhlA=\r\n"\ + "jt4grrjwzyz3pjkylwfau5xnjaj23vxmhskqaeyfhrfylelw4hvxcuyd\r\n" \ + "250-CLIENT jt4grrjwzyz3pjkylwfau5xnjaj23vxmhskqaeyfhrfylelw4hvxcuyd " \ + "x25519:eIIdIGoSZwI2Q/lSzpf92akGki5I+PZIDz37MA5BhlA=\r\n" \ "250 OK\r\n" retval = handle_control_command(&conn, (uint32_t) strlen(args), args); |