aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/commands/pub.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-02-17 17:37:45 +0100
committerTobias Brunner <tobias@strongswan.org>2013-02-19 12:25:00 +0100
commita4ddc0bb269fbe4ceed599e5e355f2bae763652c (patch)
tree8158891661c6a5449f90d3dcbd01445352c2f9fa /src/pki/commands/pub.c
parentf2145c8d3acbac8f6e351b9d4571c72f12bb0915 (diff)
downloadstrongswan-a4ddc0bb269fbe4ceed599e5e355f2bae763652c.tar.bz2
strongswan-a4ddc0bb269fbe4ceed599e5e355f2bae763652c.tar.xz
Encode RSA public keys in RFC 3110 DNSKEY format
Diffstat (limited to 'src/pki/commands/pub.c')
-rw-r--r--src/pki/commands/pub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pki/commands/pub.c b/src/pki/commands/pub.c
index 30078a8fa..9912061f4 100644
--- a/src/pki/commands/pub.c
+++ b/src/pki/commands/pub.c
@@ -158,7 +158,7 @@ static void __attribute__ ((constructor))reg()
pub, 'p', "pub",
"extract the public key from a private key/certificate",
{"[--in file|--keyid hex] [--type rsa|ecdsa|pkcs10|x509]",
- "[--outform der|pem|pgp]"},
+ "[--outform der|pem|pgp|dnskey]"},
{
{"help", 'h', 0, "show usage information"},
{"in", 'i', 1, "input file, default: stdin"},