diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c
index 7cb4a8b0ed..a9a561b09c 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -237,7 +237,7 @@ rend_encode_v2_intro_points(char **encoded, rend_service_descriptor_t *desc)
/** Encrypt the encoded introduction points in encoded using
* authorization type 'basic' with client_cookies and write the
* result to a newly allocated string pointed to by encrypted_out of
- * length encrypted_len. Return 0 for success, -1 otherwise. */
+ * length encrypted_len_out. Return 0 for success, -1 otherwise. */
static int
rend_encrypt_v2_intro_points_basic(char **encrypted_out,
size_t *encrypted_len_out,
@@ -352,8 +352,8 @@ rend_encrypt_v2_intro_points_basic(char **encrypted_out,
/** Encrypt the encoded introduction points in encoded using
* authorization type 'stealth' with descriptor_cookie of length
* REND_DESC_COOKIE_LEN and write the result to a newly allocated string
- * pointed to by encrypted of length encrypted_len. Return 0
- * for success, -1 otherwise. */
+ * pointed to by encrypted_out of length encrypted_len_out.
+ * Return 0 for success, -1 otherwise. */
static int
rend_encrypt_v2_intro_points_stealth(char **encrypted_out,
size_t *encrypted_len_out,