fix base64[url] strict/relaxed decode
This commit is contained in:
committed by
Karel Miko
parent
063bac396d
commit
bc16c149fc
@@ -12,7 +12,7 @@ int base64_decode_ex(const unsigned char *in, unsigned long len,
|
||||
int base64url_encode(const unsigned char *in, unsigned long len,
|
||||
unsigned char *out, unsigned long *outlen);
|
||||
|
||||
#define base64url_decode(i, il, o, ol) base64_decode_ex(i, il, o, ol, LTC_BASE64_STRICT)
|
||||
#define base64url_decode(i, il, o, ol) base64url_decode_ex(i, il, o, ol, LTC_BASE64_STRICT)
|
||||
int base64url_decode_ex(const unsigned char *in, unsigned long len,
|
||||
unsigned char *out, unsigned long *outlen, int strict);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user