]> WPIA git - cassiopeia.git/blobdiff - src/apps/signer.cpp
fix: clean SSL shutdown, reset, allowing deamon operation
[cassiopeia.git] / src / apps / signer.cpp
index 1e1a5894fc59e6da66384ab1c714c7a3196100dd..ec85009c90a1f3ab5f3b67b7724cb46656283ad9 100644 (file)
@@ -30,12 +30,11 @@ int main( int argc, const char* argv[] ) {
 
     std::string path;
 
-    if( DAEMON ) {
-        path = "/etc/cacert/cassiopeia/cassiopeia.conf";
-    } else {
-        path = "config.txt";
-    }
-
+#ifdef NDEBUG
+    path = "/etc/cacert/cassiopeia/cassiopeia.conf";
+#else
+    path = "config.txt";
+#endif
 
     if( parseConfig( path ) != 0 ) {
         return -1;