summaryrefslogtreecommitdiff
path: root/lib/x509
diff options
context:
space:
mode:
Diffstat (limited to 'lib/x509')
-rw-r--r--lib/x509/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/x509/common.c b/lib/x509/common.c
index 6bb474652e..cfbcdff3a6 100644
--- a/lib/x509/common.c
+++ b/lib/x509/common.c
@@ -390,6 +390,7 @@ _gnutls_x509_data2hex (const opaque * data, size_t data_size,
if (out)
{
out[0] = '#';
+ out[1] = 0;
_gnutls_str_cat (out, *sizeof_out, res);
}