diff dbutil.h @ 198:65585699d980

* add a "label" argument to printhex() * make some vars static in random.c
author Matt Johnston <matt@ucc.asn.au>
date Tue, 10 May 2005 17:02:05 +0000
parents 2e9d1f29c50f
children ca7e76d981d9 c5d3ef11155f
line wrap: on
line diff
--- a/dbutil.h	Tue May 10 17:01:16 2005 +0000
+++ b/dbutil.h	Tue May 10 17:02:05 2005 +0000
@@ -41,7 +41,7 @@
 void dropbear_log(int priority, const char* format, ...);
 #ifdef DEBUG_TRACE
 void dropbear_trace(const char* format, ...);
-void printhex(unsigned char* buf, int len);
+void printhex(const char * label, const unsigned char * buf, int len);
 extern int debug_trace;
 #endif
 char * stripcontrol(const char * text);