summaryrefslogtreecommitdiff
path: root/lib/debug.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2000-12-10 12:53:15 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2000-12-10 12:53:15 +0000
commit02459ce700d5507373f1eb487b5ebc9a6cf761d7 (patch)
tree4859ea00e6a84c00058d66b13c5baacf4210cd71 /lib/debug.c
parentcf0abd60ff01c8061972cb1b7b2d0fc4d94f9223 (diff)
downloadgnutls-02459ce700d5507373f1eb487b5ebc9a6cf761d7.tar.gz
changes in close notify- alert handling
Diffstat (limited to 'lib/debug.c')
-rw-r--r--lib/debug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/debug.c b/lib/debug.c
index 700fef9e48..7cff3d8e24 100644
--- a/lib/debug.c
+++ b/lib/debug.c
@@ -46,7 +46,7 @@ char *_gnutls_bin2hex(const unsigned char *old, const size_t oldlen)
if (!new)
return (new);
- for (i = j = 0; j < oldlen; j+=2) {
+ for (i = j = 0; i < oldlen; j+=2) {
sprintf(&new[j], "%.2x", old[i]);
i++;
}
@@ -55,7 +55,6 @@ char *_gnutls_bin2hex(const unsigned char *old, const size_t oldlen)
return (new);
}
-
void _gnutls_print_state(GNUTLS_STATE state)
{