Add support for PEM certs on SimpleLink

Also performs trnasparent SPIFFS -> SLFS cert copy.

If the file's extension is .pem, convert it to DER format and put on SLFS.

PUBLISHED_FROM=364caab21969ca28a05802c4dde93a11d1e0feda
This commit is contained in:
Deomid Ryabkov authored and Cesanta Bot committed 2016-11-25 19:30:05 +00:00
1 parent 0c79fcfbd0
commit d96629cdf4
2 files changed
+108 -17

No files matched your search

+1 -1
View File
@@ -1794,7 +1794,7 @@ void cs_base64_finish(struct cs_base64_ctx *ctx);
void cs_base64_encode(const unsigned char *src, int src_len, char *dst);
void cs_fprint_base64(FILE *f, const unsigned char *src, int src_len);
int cs_base64_decode(const unsigned char *s, int len, char *dst);
int cs_base64_decode(const unsigned char *s, int len, char *dst, int *dec_len);
#ifdef __cplusplus
}