gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gnutls branch, master, updated. gnutls_2_11_6-351-g812b290


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_2_11_6-351-g812b290
Date: Wed, 30 Mar 2011 19:59:26 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=812b2900723880df67a250f18f849dfe4f2e0064

The branch, master has been updated
       via  812b2900723880df67a250f18f849dfe4f2e0064 (commit)
      from  b9eb2f31c0a13491e63670696f5d6b6fdb002754 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 812b2900723880df67a250f18f849dfe4f2e0064
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Wed Mar 30 21:58:52 2011 +0200

    Create certificate request with stricter permissions. Reported by Luca 
Capello.

-----------------------------------------------------------------------

Summary of changes:
 src/certtool-gaa.c |    2 +-
 src/certtool.gaa   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/certtool-gaa.c b/src/certtool-gaa.c
index 14a3876..a92a694 100644
--- a/src/certtool-gaa.c
+++ b/src/certtool-gaa.c
@@ -1201,7 +1201,7 @@ static int gaa_try(int gaa_num, int gaa_index, gaainfo 
*gaaval, char *opt_list)
        case GAAOPTID_generate_request:
        OK = 0;
 #line 30 "certtool.gaa"
-{ gaaval->action=ACTION_GENERATE_REQUEST; ;};
+{ gaaval->privkey_op=1; gaaval->action=ACTION_GENERATE_REQUEST; ;};
 
                return GAA_OK;
                break;
diff --git a/src/certtool.gaa b/src/certtool.gaa
index e979ba0..13141a4 100644
--- a/src/certtool.gaa
+++ b/src/certtool.gaa
@@ -27,7 +27,7 @@ option (u, update-certificate) { 
$action=ACTION_UPDATE_CERTIFICATE; } "Update a
 
 option (p, generate-privkey) { $privkey_op=1; $action=ACTION_GENERATE_PRIVKEY; 
} "Generate a private key."
 
-option (q, generate-request) { $action=ACTION_GENERATE_REQUEST; } "Generate a 
PKCS #10 certificate request."
+option (q, generate-request) { $privkey_op=1; $action=ACTION_GENERATE_REQUEST; 
} "Generate a PKCS #10 certificate request."
 
 option (e, verify-chain) { $action=ACTION_VERIFY_CHAIN; } "Verify a PEM 
encoded certificate chain. The last certificate in the chain must be a self 
signed one."
 


hooks/post-receive
-- 
GNU gnutls



reply via email to

[Prev in Thread] Current Thread [Next in Thread]