summaryrefslogtreecommitdiff
path: root/lib/x509/common.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-03-08 15:46:53 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-03-08 15:46:53 +0100
commit6f8e56c95ebe21c678c101dc1ccee1eef1e17fe7 (patch)
treeb931c33c332bd2a6e9aefbc15c71e9b194cf6315 /lib/x509/common.c
parentac2ec01a3db21f8d9a567ed6438f4840db2c309f (diff)
downloadgnutls-6f8e56c95ebe21c678c101dc1ccee1eef1e17fe7.tar.gz
silence some warnings
Diffstat (limited to 'lib/x509/common.c')
-rw-r--r--lib/x509/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/x509/common.c b/lib/x509/common.c
index 3c6f4221ad..f19467b27e 100644
--- a/lib/x509/common.c
+++ b/lib/x509/common.c
@@ -349,7 +349,7 @@ decode_complex_string(const struct oid_to_string *oentry, void *value,
ASN1_TYPE tmpasn = ASN1_TYPE_EMPTY;
char asn1_err[ASN1_MAX_ERROR_DESCRIPTION_SIZE] = "";
unsigned int etype;
- gnutls_datum_t td;
+ gnutls_datum_t td = {NULL, 0};
if (oentry->asn_desc == NULL) {
gnutls_assert();
@@ -877,7 +877,7 @@ _gnutls_x509_export_int_named(ASN1_TYPE asn1_data, const char *name,
size_t * output_data_size)
{
int ret;
- gnutls_datum_t out;
+ gnutls_datum_t out = {NULL,0};
size_t size;
ret = _gnutls_x509_export_int_named2(asn1_data, name,