Fossil SCM
When appending the ssh signature, use a more direct function with the same result.
Commit
5d040f1ff00c552c90586e01632d1fefc69b6f0bbf64002c328c1b925e86a78f
Parent
b853b5d47115b99…
1 file changed
+1
-1
+1
-1
| --- src/clearsign.c | ||
| +++ src/clearsign.c | ||
| @@ -65,11 +65,11 @@ | ||
| 65 | 65 | blob_appendf(pOut, "%s", "-----BEGIN SSH SIGNED MESSAGE-----\n\n"); |
| 66 | 66 | blob_appendf(pOut, "%s", blob_str(&tmpBlob)); |
| 67 | 67 | blob_zero(&tmpBlob); |
| 68 | 68 | blob_read_from_file(&tmpBlob, zIn, ExtFILE); |
| 69 | 69 | /* Add signature - already armored by SSH */ |
| 70 | - blob_appendf(pOut, "%s", blob_str(&tmpBlob)); | |
| 70 | + blob_appendb(pOut, &tmpBlob); | |
| 71 | 71 | }else{ |
| 72 | 72 | /* Assume that the external command creates non-detached signatures */ |
| 73 | 73 | blob_read_from_file(pOut, zIn, ExtFILE); |
| 74 | 74 | } |
| 75 | 75 | }else{ |
| 76 | 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_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 |