Message ID | 20150528154910.1259.44636.stgit@warthog.procyon.org.uk (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Kalle Valo |
Headers | show |
diff --git a/scripts/sign-file.c b/scripts/sign-file.c index 94109c9e8ce6..cf9eb7f79868 100755 --- a/scripts/sign-file.c +++ b/scripts/sign-file.c @@ -249,7 +249,7 @@ int main(int argc, char **argv) if (save_pkcs7) { char *pkcs7_name; - ERR(asprintf(&pkcs7_name, "%s.pkcs7", module_name) < 0, "asprintf"); + ERR(asprintf(&pkcs7_name, "%s.p7s", module_name) < 0, "asprintf"); b = BIO_new_file(pkcs7_name, "wb"); ERR(!b, "%s", pkcs7_name); ERR(i2d_PKCS7_bio_stream(b, pkcs7, NULL, 0) < 0, "%s", pkcs7_name);