summaryrefslogtreecommitdiffstats
path: root/patches/openssl-1.0.0h/0001-debian-ca.patch
blob: b6f7b993f8bce0e637ee69505dd21dc07f52b18d (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
32
33
34
35
From 23350fabedeb0ebc4af9ebe394b2de96c66c31bc Mon Sep 17 00:00:00 2001
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Tue, 22 Feb 2011 13:56:43 +0100
Subject: [PATCH 01/18] debian ca

Applied ca.patch from openssl_1.0.0c-2.debian.tar.gz

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

diff --git a/apps/CA.pl.in b/apps/CA.pl.in
index c783a6e..fa665b7 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;
 	}
 }
-- 
1.7.8.4