]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Merge branch 'maint-0.4.3'
authorNick Mathewson <nickm@torproject.org>
Tue, 17 Mar 2020 15:47:35 +0000 (11:47 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 17 Mar 2020 15:47:35 +0000 (11:47 -0400)
1  2 
src/feature/hs/hs_client.c
src/feature/hs/hs_service.c

index d5c1c5ca9a3848b069fc1918012974f63cb1b76c,af8cb0b41080d5362e92ddb089a6c02cffdae7f4..cc1b01d2ef3c0c0d2f17c91799fcb4d949758870
@@@ -1845,10 -1845,10 +1845,10 @@@ hs_client_decode_descriptor(const char 
                              hs_descriptor_t **desc)
  {
    hs_desc_decode_status_t ret;
 -  uint8_t subcredential[DIGEST256_LEN];
 +  hs_subcredential_t subcredential;
    ed25519_public_key_t blinded_pubkey;
    hs_client_service_authorization_t *client_auth = NULL;
-   curve25519_secret_key_t *client_auht_sk = NULL;
+   curve25519_secret_key_t *client_auth_sk = NULL;
  
    tor_assert(desc_str);
    tor_assert(service_identity_pk);
    }
  
    /* Parse descriptor */
 -  ret = hs_desc_decode_descriptor(desc_str, subcredential,
 +  ret = hs_desc_decode_descriptor(desc_str, &subcredential,
-                                   client_auht_sk, desc);
+                                   client_auth_sk, desc);
 -  memwipe(subcredential, 0, sizeof(subcredential));
 +  memwipe(&subcredential, 0, sizeof(subcredential));
    if (ret != HS_DESC_DECODE_OK) {
      goto err;
    }
Simple merge