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:
John Ohl 2021-10-11 11:43:58 -04:00 committed by bot
parent e10d0635f8
commit 27d66c0e33

View File

@ -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)
{
*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