feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -212,7 +212,8 @@ String X509CertificateMbedTLS::save_to_string() {
|
|||
int ret = mbedtls_pem_write_buffer(PEM_BEGIN_CRT, PEM_END_CRT, cert.raw.p, cert.raw.len, w, sizeof(w), &wrote);
|
||||
ERR_FAIL_COND_V_MSG(ret != 0 || wrote == 0, String(), "Error saving the certificate.");
|
||||
|
||||
buffer += String((char *)w, wrote);
|
||||
// PEM is base64, aka ascii
|
||||
buffer += String::ascii(Span((char *)w, wrote));
|
||||
crt = crt->next;
|
||||
}
|
||||
if (buffer.length() <= PEM_MIN_SIZE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue