]> WPIA git - cassiopeia.git/blobdiff - src/sslUtil.cpp
add: Initial code to implement revocation
[cassiopeia.git] / src / sslUtil.cpp
index c7944f298bed9765993183a987589bc9beb1f105..fd00e8fb85a94db8367299a6d52e676c5cd278bb 100644 (file)
@@ -173,8 +173,9 @@ std::shared_ptr<BIO> openSerial( const std::string name ) {
     return b;
 }
 
-CAConfig::CAConfig( std::string path ) {
-    this->path = path;
+CAConfig::CAConfig( std::string name ) {
+    this->name = name;
+    this->path = "ca/" + name;
     ca = loadX509FromFile( path + "/ca.crt" );
     caKey = loadPkeyFromFile( path + "/ca.key" );
 }