kopia lustrzana https://github.com/espressif/esp-idf
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
rodzic
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)
|
||||
{
|
||||
*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
|
||||
|
|
Ładowanie…
Reference in New Issue