mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Refer to RFC 4648 instead of the obsolete RFC 3548
Affects comments only. For ticket 6849.
This commit is contained in:
parent
0f9524dbd0
commit
e6828ea634
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user