summaryrefslogtreecommitdiff
path: root/src/certtool-common.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-07-13 17:36:19 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-07-13 17:36:19 +0200
commit8dcf133d55c6f97c1a5cb1267b1d6b463fb405f4 (patch)
tree2f0857e67b30f4c9b85a9cb9ae40120a1a7bf9b5 /src/certtool-common.c
parent9eac1c562bdcf72b1cdc77026553f23aefc00f1b (diff)
downloadgnutls-8dcf133d55c6f97c1a5cb1267b1d6b463fb405f4.tar.gz
Allow gnutls-cli to be used with tpmkey urls
Diffstat (limited to 'src/certtool-common.c')
-rw-r--r--src/certtool-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/certtool-common.c b/src/certtool-common.c
index f8c05bc839..9dcca84cec 100644
--- a/src/certtool-common.c
+++ b/src/certtool-common.c
@@ -516,7 +516,7 @@ load_ca_private_key (common_info_st * info)
#endif
#ifdef HAVE_TROUSERS
- if (strncmp(info->privkey, "tpmkey:", 7) == 0)
+ if (strncmp(info->ca_privkey, "tpmkey:", 7) == 0)
return _load_tpm_privkey(info->privkey);
#endif