summaryrefslogtreecommitdiff
path: root/src/certtool-common.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-04-03 14:54:15 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-04-03 14:54:15 +0200
commitdc40a3d9430a4a9ff1f028996c8807847ea29649 (patch)
treeee4f4c082df5270de22680944a8c9654e993725a /src/certtool-common.h
parent6a3e1e115aed34c6f3c0e9378c27f15e39077cbb (diff)
downloadgnutls-dc40a3d9430a4a9ff1f028996c8807847ea29649.tar.gz
changed the behavior in certtool's PKCS #8 key export with no password
By default when no password is specified, an unencrypted key is output. The previous behavior of encrypting using an empty password can be replicated using --empty-password.
Diffstat (limited to 'src/certtool-common.h')
-rw-r--r--src/certtool-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/certtool-common.h b/src/certtool-common.h
index b300988487..d55c007a60 100644
--- a/src/certtool-common.h
+++ b/src/certtool-common.h
@@ -49,6 +49,7 @@ typedef struct common_info {
const char *pkcs_cipher;
const char *password;
int null_password;
+ int empty_password;
unsigned int crq_extensions;
unsigned int v1_cert;