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>
pull/7751/head
John Ohl 2021-10-11 11:43:58 -04:00 zatwierdzone przez bot
rodzic e10d0635f8
commit 27d66c0e33
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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