mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 12:00:56 +01:00
added better error handling to vault writing, always use a tmp
vault file for writing. added matching unittest to check if the code catches a disk full error.
This commit is contained in:
@@ -36,6 +36,7 @@ void pcptext_key(char *keyid) {
|
||||
if(debug)
|
||||
pcp_dumppubkey(p);
|
||||
pcppubkey_print(p, stdout);
|
||||
free(p);
|
||||
}
|
||||
else {
|
||||
fatal("No key with id 0x%s found!\n", keyid);
|
||||
|
||||
Reference in New Issue
Block a user