Fossil SCM

When appending the ssh signature, use a more direct function with the same result.

danield 2025-08-20 15:02 trunk
Commit 5d040f1ff00c552c90586e01632d1fefc69b6f0bbf64002c328c1b925e86a78f
1 file changed +1 -1
+1 -1
--- src/clearsign.c
+++ src/clearsign.c
@@ -65,11 +65,11 @@
6565
blob_appendf(pOut, "%s", "-----BEGIN SSH SIGNED MESSAGE-----\n\n");
6666
blob_appendf(pOut, "%s", blob_str(&tmpBlob));
6767
blob_zero(&tmpBlob);
6868
blob_read_from_file(&tmpBlob, zIn, ExtFILE);
6969
/* Add signature - already armored by SSH */
70
- blob_appendf(pOut, "%s", blob_str(&tmpBlob));
70
+ blob_appendb(pOut, &tmpBlob);
7171
}else{
7272
/* Assume that the external command creates non-detached signatures */
7373
blob_read_from_file(pOut, zIn, ExtFILE);
7474
}
7575
}else{
7676
--- src/clearsign.c
+++ src/clearsign.c
@@ -65,11 +65,11 @@
65 blob_appendf(pOut, "%s", "-----BEGIN SSH SIGNED MESSAGE-----\n\n");
66 blob_appendf(pOut, "%s", blob_str(&tmpBlob));
67 blob_zero(&tmpBlob);
68 blob_read_from_file(&tmpBlob, zIn, ExtFILE);
69 /* Add signature - already armored by SSH */
70 blob_appendf(pOut, "%s", blob_str(&tmpBlob));
71 }else{
72 /* Assume that the external command creates non-detached signatures */
73 blob_read_from_file(pOut, zIn, ExtFILE);
74 }
75 }else{
76
--- src/clearsign.c
+++ src/clearsign.c
@@ -65,11 +65,11 @@
65 blob_appendf(pOut, "%s", "-----BEGIN SSH SIGNED MESSAGE-----\n\n");
66 blob_appendf(pOut, "%s", blob_str(&tmpBlob));
67 blob_zero(&tmpBlob);
68 blob_read_from_file(&tmpBlob, zIn, ExtFILE);
69 /* Add signature - already armored by SSH */
70 blob_appendb(pOut, &tmpBlob);
71 }else{
72 /* Assume that the external command creates non-detached signatures */
73 blob_read_from_file(pOut, zIn, ExtFILE);
74 }
75 }else{
76

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button