[PATCH 20/20] sign-file: use .p7s instead of .pkcs7 file extension [ver #5]

From: David Howells
Date: Thu May 28 2015 - 11:49:27 EST


From: Luis R. Rodriguez <mcgrof@xxxxxxxx>

The file extension .p7s is much more common, use that.

Cc: Kyle McMartin <kyle@xxxxxxxxxx>
Cc: David Woodhouse <David.Woodhouse@xxxxxxxxx>
Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxx>
Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
---

scripts/sign-file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/