summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1999-08-26 22:29:29 +0000
committerniklas <niklas@openbsd.org>1999-08-26 22:29:29 +0000
commitc6e082425fb37d436282de3eb94b413976cb5af7 (patch)
treecc085da51394c57de44ddb6ca550be32807f2b88
parentMerge with EOM 1.58 (diff)
downloadwireguard-openbsd-c6e082425fb37d436282de3eb94b413976cb5af7.tar.xz
wireguard-openbsd-c6e082425fb37d436282de3eb94b413976cb5af7.zip
regress/exchange/def-i.1: Merge with EOM
regress/exchange/def-r.1: Merge with EOM apps/certpatch/certpatch.c: Merge with EOM 1.2
-rw-r--r--sbin/isakmpd/apps/certpatch/certpatch.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sbin/isakmpd/apps/certpatch/certpatch.c b/sbin/isakmpd/apps/certpatch/certpatch.c
index 53af5bfbd47..a77115df264 100644
--- a/sbin/isakmpd/apps/certpatch/certpatch.c
+++ b/sbin/isakmpd/apps/certpatch/certpatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: certpatch.c,v 1.2 1999/07/18 17:25:51 deraadt Exp $ */
+/* $OpenBSD: certpatch.c,v 1.3 1999/08/26 22:29:29 niklas Exp $ */
/* $EOM: certpatch.c,v 1.2 1999/07/17 20:44:13 niklas Exp $ */
/*
@@ -71,7 +71,10 @@
int
main (int argc, char **argv)
{
- char *usage = "usage: %s [-t idtype] -i id -k keyfile certin certout\n";
+ char *usage = "%s [-t idtype] -i id -k keyfile certin certout\n\n"
+ "This programs takes a certificate and adds a subjectAltName extension\n"
+ "with the identication given as command line argument. Be sure that \n"
+ "the signing key matches the issuer.\n";
EVP_PKEY *pkey_priv;
X509 *cert;
BIO *file;