1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Add namespace to FS references in CertStore (#7413)

Fixes #7410
This commit is contained in:
Earle F. Philhower, III 2020-06-29 10:30:06 -07:00 committed by GitHub
parent 52f4cc8de0
commit d85ff6efc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,13 +37,13 @@ class CertStore {
~CertStore();
// Set the file interface instances, do preprocessing
int initCertStore(FS &fs, const char *indexFileName, const char *dataFileName);
int initCertStore(fs::FS &fs, const char *indexFileName, const char *dataFileName);
// Installs the cert store into the X509 decoder (normally via static function callbacks)
void installCertStore(br_x509_minimal_context *ctx);
protected:
FS *_fs = nullptr;
fs::FS *_fs = nullptr;
char *_indexName = nullptr;
char *_dataName = nullptr;
X509List *_x509 = nullptr;