@@ -80,7 +80,7 @@ CertStore::CertInfo CertStore::_preprocessCert(uint32_t length, uint32_t offset,
80
80
81
81
// The certs.ar file is a UNIX ar format file, concatenating all the
82
82
// individual certificates into a single blob in a space-efficient way.
83
- int CertStore::initCertStore (FS &fs, const char *indexFileName, const char *dataFileName) {
83
+ int CertStore::initCertStore (fs:: FS &fs, const char *indexFileName, const char *dataFileName) {
84
84
int count = 0 ;
85
85
uint32_t offset = 0 ;
86
86
@@ -101,12 +101,12 @@ int CertStore::initCertStore(FS &fs, const char *indexFileName, const char *data
101
101
memcpy_P (_indexName, indexFileName, strlen_P (indexFileName) + 1 );
102
102
memcpy_P (_dataName, dataFileName, strlen_P (dataFileName) + 1 );
103
103
104
- File index = _fs->open (_indexName, " w" );
104
+ fs:: File index = _fs->open (_indexName, " w" );
105
105
if (!index ) {
106
106
return 0 ;
107
107
}
108
108
109
- File data = _fs->open (_dataName, " r" );
109
+ fs:: File data = _fs->open (_dataName, " r" );
110
110
if (!data) {
111
111
index .close ();
112
112
return 0 ;
@@ -179,7 +179,7 @@ const br_x509_trust_anchor *CertStore::findHashedTA(void *ctx, void *hashed_dn,
179
179
return nullptr ;
180
180
}
181
181
182
- File index = cs->_fs ->open (cs->_indexName , " r" );
182
+ fs:: File index = cs->_fs ->open (cs->_indexName , " r" );
183
183
if (!index ) {
184
184
return nullptr ;
185
185
}
@@ -191,12 +191,12 @@ const br_x509_trust_anchor *CertStore::findHashedTA(void *ctx, void *hashed_dn,
191
191
if (!der) {
192
192
return nullptr ;
193
193
}
194
- File data = cs->_fs ->open (cs->_dataName , " r" );
194
+ fs:: File data = cs->_fs ->open (cs->_dataName , " r" );
195
195
if (!data) {
196
196
free (der);
197
197
return nullptr ;
198
198
}
199
- if (!data.seek (ci.offset , SeekSet)) {
199
+ if (!data.seek (ci.offset , fs:: SeekSet)) {
200
200
data.close ();
201
201
free (der);
202
202
return nullptr ;
0 commit comments