Loading src/common/crypto_ed25519.c +2 −2 Original line number Diff line number Diff line Loading @@ -225,8 +225,8 @@ ed25519_public_key_is_zero(const ed25519_public_key_t *pubkey) /* Return a heap-allocated array that contains <b>msg</b> prefixed by the * string <b>prefix_str</b>. Set <b>final_msg_len_out</b> to the size of the * final array. If an error occurred, return NULL. It's the resonsibility of the * caller to free the returned array. */ * final array. If an error occurred, return NULL. It's the responsibility of * the caller to free the returned array. */ static uint8_t * get_prefixed_msg(const uint8_t *msg, size_t msg_len, const char *prefix_str, Loading src/or/hs_descriptor.c +4 −4 Original line number Diff line number Diff line Loading @@ -745,8 +745,8 @@ get_fake_auth_client_lines(void) /* Create the inner layer of the descriptor (which includes the intro points, * etc.). Return a newly-allocated string with the layer plaintext, or NULL if * an error occurred. It's the responsibility of the caller to free the returned * string. */ * an error occurred. It's the responsibility of the caller to free the * returned string. */ static char * get_inner_encrypted_layer_plaintext(const hs_descriptor_t *desc) { Loading Loading @@ -802,8 +802,8 @@ get_inner_encrypted_layer_plaintext(const hs_descriptor_t *desc) /* Create the middle layer of the descriptor, which includes the client auth * data and the encrypted inner layer (provided as a base64 string at * <b>layer2_b64_ciphertext</b>). Return a newly-allocated string with the * layer plaintext, or NULL if an error occurred. It's the responsibility of the * caller to free the returned string. */ * layer plaintext, or NULL if an error occurred. It's the responsibility of * the caller to free the returned string. */ static char * get_outer_encrypted_layer_plaintext(const hs_descriptor_t *desc, const char *layer2_b64_ciphertext) Loading Loading
src/common/crypto_ed25519.c +2 −2 Original line number Diff line number Diff line Loading @@ -225,8 +225,8 @@ ed25519_public_key_is_zero(const ed25519_public_key_t *pubkey) /* Return a heap-allocated array that contains <b>msg</b> prefixed by the * string <b>prefix_str</b>. Set <b>final_msg_len_out</b> to the size of the * final array. If an error occurred, return NULL. It's the resonsibility of the * caller to free the returned array. */ * final array. If an error occurred, return NULL. It's the responsibility of * the caller to free the returned array. */ static uint8_t * get_prefixed_msg(const uint8_t *msg, size_t msg_len, const char *prefix_str, Loading
src/or/hs_descriptor.c +4 −4 Original line number Diff line number Diff line Loading @@ -745,8 +745,8 @@ get_fake_auth_client_lines(void) /* Create the inner layer of the descriptor (which includes the intro points, * etc.). Return a newly-allocated string with the layer plaintext, or NULL if * an error occurred. It's the responsibility of the caller to free the returned * string. */ * an error occurred. It's the responsibility of the caller to free the * returned string. */ static char * get_inner_encrypted_layer_plaintext(const hs_descriptor_t *desc) { Loading Loading @@ -802,8 +802,8 @@ get_inner_encrypted_layer_plaintext(const hs_descriptor_t *desc) /* Create the middle layer of the descriptor, which includes the client auth * data and the encrypted inner layer (provided as a base64 string at * <b>layer2_b64_ciphertext</b>). Return a newly-allocated string with the * layer plaintext, or NULL if an error occurred. It's the responsibility of the * caller to free the returned string. */ * layer plaintext, or NULL if an error occurred. It's the responsibility of * the caller to free the returned string. */ static char * get_outer_encrypted_layer_plaintext(const hs_descriptor_t *desc, const char *layer2_b64_ciphertext) Loading