mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Encoding base64 with wolfSSL should produce the same result as esp_crypto_bas64_encode_mbedtls and not encode in PEM format /w new lines
Closes https://github.com/espressif/esp-idf/pull/7676 Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
This commit is contained in:
parent
e10d0635f8
commit
27d66c0e33
@ -56,7 +56,7 @@ static int esp_crypto_base64_encode_woflSSL(unsigned char *dst, size_t dlen, siz
|
|||||||
const unsigned char *src, size_t slen)
|
const unsigned char *src, size_t slen)
|
||||||
{
|
{
|
||||||
*olen = dlen;
|
*olen = dlen;
|
||||||
return Base64_Encode((const byte *) src, (word32) slen, (byte *) dst, (word32 *) olen);
|
return Base64_Encode_NoNl((const byte *) src, (word32) slen, (byte *) dst, (word32 *) olen);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user