summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/apps
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-26 22:29:30 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-26 22:29:30 +0000
commit06d276f6fd0601c273eb5264547c89fc2f717d02 (patch)
tree59c65055602681996d8138a5bb48d0cb92dd82d7 /sbin/isakmpd/apps
parent6c77812d92e8ef1164d8ab8106fb1a41d90ade1f (diff)
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
Diffstat (limited to 'sbin/isakmpd/apps')
-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;