MCPcopy Create free account
hub / github.com/assaultcube/AC / loadcertdir

Function loadcertdir

source/src/crypto.cpp:1480–1491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1478}
1479
1480void loadcertdir() // load all certs in "config/certs"
1481{
1482 vector<char *> certfiles;
1483
1484 listfiles(CERTFILEDIR, CERTFILEEXT, certfiles);
1485 loopv(certfiles)
1486 {
1487 loadcert(certfiles[i]);
1488 delstring(certfiles[i]);
1489 }
1490 rebuildcerttree();
1491}
1492
1493#ifndef STANDALONE
1494void listcerts()

Callers 1

main.cppFile · 0.85

Calls 2

listfilesFunction · 0.85
rebuildcerttreeFunction · 0.85

Tested by

no test coverage detected