diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-10-17 23:53:40 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-10-17 23:53:40 +0200 |
commit | 1161028cc40ddae74a81d9300de9728e9b039564 (patch) | |
tree | 6aaf7ad8849f228d569e2417efe92acb5d1d5aa5 /lib/x509 | |
parent | 733960deeac69f70e64b3e0a1c13b345729756f1 (diff) | |
download | gnutls-1161028cc40ddae74a81d9300de9728e9b039564.tar.gz |
Corrected bug in gnutls_x509_data2hex. Report and fix by Vincent Untz.
Diffstat (limited to 'lib/x509')
-rw-r--r-- | lib/x509/common.c | 1 |
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); } |