]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
*** empty log message ***
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 27 Oct 2003 09:58:28 +0000 (09:58 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 27 Oct 2003 09:58:28 +0000 (09:58 +0000)
src/certtool-gaa.c
src/certtool.c
src/certtool.gaa

index 7097d78bbba8ba84584c0a6cac4c016e8041e942..5a8660241110ca0fd2866fb4056570aad039d89e 100644 (file)
@@ -122,7 +122,7 @@ void gaa_help(void)
        __gaa_helpsingle('u', "update-certificate", "", "Update a signed certificate.");
        __gaa_helpsingle('p', "generate-privkey", "", "Generate a private key.");
        __gaa_helpsingle('q', "generate-request", "", "Generate a PKCS #10 certificate request.");
-       __gaa_helpsingle('e', "verify-chain", "", "Verify a certificate chain. The last certificate in the chain must be a self signed one.");
+       __gaa_helpsingle('e', "verify-chain", "", "Verify a PEM encoded certificate chain. The last certificate in the chain must be a self signed one.");
        __gaa_helpsingle(0, "load-privkey", "FILE ", "Private key file to use.");
        __gaa_helpsingle(0, "load-request", "FILE ", "Certificate request file to use.");
        __gaa_helpsingle(0, "load-certificate", "FILE ", "Certificate file to use.");
index 303022e1cbecc8e7975e099f8e573958b0eac16d..7004cb34e8b1fd3abf62e7ecbffecb3c4b99b9b9 100644 (file)
@@ -46,7 +46,7 @@ char input[128];
 int ret;
 
        fputs( input_str, stderr);
-       fgets( input, sizeof(input), infile);
+       fgets( input, sizeof(input), stdin);
        
        if (strlen(input)==1) /* only newline */ return;
 
@@ -63,7 +63,7 @@ char input[128];
 int ret;
 
        fputs( input_str, stderr);
-       fgets( input, sizeof(input), infile);
+       fgets( input, sizeof(input), stdin);
        
        if (strlen(input)==1) /* only newline */ return;
 
@@ -79,7 +79,7 @@ static int read_int( const char* input_str)
 char input[128];
 
        fputs( input_str, stderr);
-       fgets( input, sizeof(input), infile);
+       fgets( input, sizeof(input), stdin);
        
        if (strlen(input)==1) /* only newline */ return 0;
 
@@ -91,7 +91,7 @@ static const char* read_str( const char* input_str)
 static char input[128];
 
        fputs( input_str, stderr);
-       fgets( input, sizeof(input), infile);
+       fgets( input, sizeof(input), stdin);
        
        input[strlen(input)-1] = 0;
 
@@ -105,7 +105,7 @@ static int read_yesno( const char* input_str)
 char input[128];
 
        fputs( input_str, stderr);
-       fgets( input, sizeof(input), infile);
+       fgets( input, sizeof(input), stdin);
        
        if (strlen(input)==1) /* only newline */ return 0;
 
index 9185d5f4b440ca08c1508a275aa97b630d91028d..5f07db911c009457abf7f226075f387adde306c7 100644 (file)
@@ -11,7 +11,7 @@ option (p, generate-privkey) { $action=1; } "Generate a private key."
 
 option (q, generate-request) { $action=3; } "Generate a PKCS #10 certificate request."
 
-option (e, verify-chain) { $action=5; } "Verify a certificate chain. The last certificate in the chain must be a self signed one."
+option (e, verify-chain) { $action=5; } "Verify a PEM encoded certificate chain. The last certificate in the chain must be a self signed one."
 
 #char *privkey;
 option (load-privkey) STR "FILE" { $privkey = $1 } "Private key file to use."