diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-04-12 22:25:06 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-04-12 22:44:02 +0200 |
commit | 92aacdcfab378405e33ce957a61dcec5360df682 (patch) | |
tree | 75bcc12d16d3aa970aec7dcbcce1b8ec178593a0 | |
parent | 8c239987e9de1ee8a8c3761a77d88343d721ad4b (diff) | |
download | gnutls-92aacdcfab378405e33ce957a61dcec5360df682.tar.gz |
gnutls_x509_ext_import_policies: initialize value to avoid compiler warnings
-rw-r--r-- | lib/x509/x509_ext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/x509_ext.c b/lib/x509/x509_ext.c index 0933047145..321124a140 100644 --- a/lib/x509/x509_ext.c +++ b/lib/x509/x509_ext.c @@ -1895,7 +1895,7 @@ int gnutls_x509_ext_import_policies(const gnutls_datum_t * ext, policies->policy[j].qualifier[i].type = GNUTLS_X509_QUALIFIER_URI; } else if (strcmp(tmpoid, "1.3.6.1.5.5.7.2.2") == 0) { - gnutls_datum_t txt; + gnutls_datum_t txt = {NULL, 0}; snprintf(tmpstr, sizeof(tmpstr), "?%u.policyQualifiers.?%u.qualifier", |