aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-23 09:51:31 -0500
committerNick Mathewson <nickm@torproject.org>2012-11-23 09:51:35 -0500
commite6828ea634966259a8f1bb92ef28d8b20b0dc0e4 (patch)
treeb130d356b64d2be11c25de094b98feb5577ccf76 /src/common/crypto.c
parent0f9524dbd0590c62a31b7d783a2ecbea7dbdcd37 (diff)
downloadtor-e6828ea634966259a8f1bb92ef28d8b20b0dc0e4.tar
tor-e6828ea634966259a8f1bb92ef28d8b20b0dc0e4.tar.gz
Refer to RFC 4648 instead of the obsolete RFC 3548
Affects comments only. For ticket 6849.
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 6c3dd8d4a..39f5a4a64 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -2736,7 +2736,7 @@ digest256_from_base64(char *digest, const char *d64)
#endif
}
-/** Implements base32 encoding as in rfc3548. Limitation: Requires
+/** Implements base32 encoding as in RFC 4648. Limitation: Requires
* that srclen*8 is a multiple of 5.
*/
void
@@ -2761,7 +2761,7 @@ base32_encode(char *dest, size_t destlen, const char *src, size_t srclen)
dest[i] = '\0';
}
-/** Implements base32 decoding as in rfc3548. Limitation: Requires
+/** Implements base32 decoding as in RFC 4648. Limitation: Requires
* that srclen*5 is a multiple of 8. Returns 0 if successful, -1 otherwise.
*/
int