summaryrefslogtreecommitdiffstats
path: root/patches/openssl-1.0.2h/0001-ca.patch
blob: b3d7549de7f07cf5ee318d0a2635a41ed68c7af6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Wed, 4 May 2016 09:27:51 +0200
Subject: [PATCH] ca

Imported from openssl_1.0.2h-1.debian.tar.xz

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 apps/CA.pl.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/apps/CA.pl.in b/apps/CA.pl.in
index c783a6e6a541..fa665b7b385f 100644
--- a/apps/CA.pl.in
+++ b/apps/CA.pl.in
@@ -65,6 +65,7 @@ $RET = 0;
 foreach (@ARGV) {
 	if ( /^(-\?|-h|-help)$/ ) {
 	    print STDERR "usage: CA -newcert|-newreq|-newreq-nodes|-newca|-sign|-verify\n";
+	    print STDERR "usage: CA -signcert certfile keyfile|-newcert|-newreq|-newca|-sign|-verify\n";
 	    exit 0;
 	} elsif (/^-newcert$/) {
 	    # create a certificate
@@ -165,6 +166,7 @@ foreach (@ARGV) {
 	} else {
 	    print STDERR "Unknown arg $_\n";
 	    print STDERR "usage: CA -newcert|-newreq|-newreq-nodes|-newca|-sign|-verify\n";
+	    print STDERR "usage: CA -signcert certfile keyfile|-newcert|-newreq|-newca|-sign|-verify\n";
 	    exit 1;
 	}
 }