bugfix: base32 now 0-terminates output string
This was SVN commit r3982.
This commit is contained in:
parent
d0acaecc5c
commit
05b3867104
@ -354,6 +354,8 @@ void base32(const size_t len, const u8* in, u8* out)
|
||||
uint c = (pool >> bits) & 31;
|
||||
*out++ = tbl[c];
|
||||
}
|
||||
|
||||
*out++ = '\0';
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user