safe pwdstore decryption status

Mon, 28 Oct 2024 09:37:04 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 28 Oct 2024 09:37:04 +0100
changeset 839
23f3b02c6725
parent 838
d262210f8454
child 840
9904eee3ca9a

safe pwdstore decryption status

libidav/config.c file | annotate | diff | comparison | revisions
libidav/pwdstore.c file | annotate | diff | comparison | revisions
--- a/libidav/config.c	Sun Oct 27 16:08:28 2024 +0100
+++ b/libidav/config.c	Mon Oct 28 09:37:04 2024 +0100
@@ -458,7 +458,7 @@
     xmlNode *repoNode = xmlNewNode(NULL, BAD_CAST "repository");
     xmlNode *rtext1 = xmlNewDocText(config->doc, BAD_CAST "\n");
     xmlAddChild(repoNode, rtext1);
-    
+    repo->node = repoNode;
     if(repo->name.value.ptr) {
         repo->name.node = addXmlNode(repoNode, "name", repo->name.value);
     }
--- a/libidav/pwdstore.c	Sun Oct 27 16:08:28 2024 +0100
+++ b/libidav/pwdstore.c	Mon Oct 28 09:37:04 2024 +0100
@@ -306,6 +306,8 @@
     
     cxBufferFree(content);
     
+    p->isdecrypted = 1;
+    
     return 0;
 }
 

mercurial