diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-08-24 14:56:09 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-08-24 15:12:25 +0200 |
commit | f49535991e36f2df7ac3329a40beac6524258e3a (patch) | |
tree | 526b585e5705eec25203ae618485159d6962428c | |
parent | c95643eaf78ea3b769a9dfa2d756f2a58d501fe5 (diff) | |
download | gnutls-f49535991e36f2df7ac3329a40beac6524258e3a.tar.gz |
p11tool: backported fixes in load_secret_key()
-rw-r--r-- | src/certtool-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/certtool-common.c b/src/certtool-common.c index 1482d34b68..6a1f32d3cc 100644 --- a/src/certtool-common.c +++ b/src/certtool-common.c @@ -74,7 +74,7 @@ safe_open_rw (const char *file, int privkey_op) gnutls_datum_t * load_secret_key (int mand, common_info_st * info) { - unsigned char raw_key[64]; + static unsigned char raw_key[64]; size_t raw_key_size = sizeof (raw_key); static gnutls_datum_t key; gnutls_datum_t hex_key; |