summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-09-28 14:16:57 +0400
committerRusty Russell <rusty@rustcorp.com.au>2012-10-10 13:36:35 +0400
commite7d113bcf243a838ba1c32025172ab214349dfad (patch)
tree1a8830155cc2273388546ba85dba1f0a7f5e6d40 /kernel
parent5e8cb1e441dd74723898cd28fe64af5651023af0 (diff)
downloadlinux-e7d113bcf243a838ba1c32025172ab214349dfad.tar.xz
MODSIGN: Use utf8 strings in signer's name in autogenerated X.509 certs
Place an indication that the certificate should use utf8 strings into the x509.genkey template generated by kernel/Makefile. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
index a799029320d1..e951adf93567 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -194,6 +194,7 @@ x509.genkey:
@echo >>x509.genkey "default_bits = 4096"
@echo >>x509.genkey "distinguished_name = req_distinguished_name"
@echo >>x509.genkey "prompt = no"
+ @echo >>x509.genkey "string_mask = utf8only"
@echo >>x509.genkey "x509_extensions = myexts"
@echo >>x509.genkey
@echo >>x509.genkey "[ req_distinguished_name ]"