comparison dbutil.c @ 45:9ee8996a375f

Pubkey auth is mostly there for the client. Something strange with remote hostkey verification though.
author Matt Johnston <matt@ucc.asn.au>
date Tue, 03 Aug 2004 17:26:56 +0000
parents b4874d772210
children 095d689fed16
comparison
equal deleted inserted replaced
44:45edf30ea0a6 45:9ee8996a375f
101 101
102 102
103 #ifdef DEBUG_TRACE 103 #ifdef DEBUG_TRACE
104 void dropbear_trace(const char* format, ...) { 104 void dropbear_trace(const char* format, ...) {
105 105
106 #if 0
107 va_list param; 106 va_list param;
108 107
109 va_start(param, format); 108 va_start(param, format);
110 fprintf(stderr, "TRACE: "); 109 fprintf(stderr, "TRACE: ");
111 vfprintf(stderr, format, param); 110 vfprintf(stderr, format, param);
112 fprintf(stderr, "\n"); 111 fprintf(stderr, "\n");
113 va_end(param); 112 va_end(param);
114 #endif
115 } 113 }
116 #endif /* DEBUG_TRACE */ 114 #endif /* DEBUG_TRACE */
117 115
118 /* Connect via TCP to a host. Connection will try ipv4 or ipv6, will 116 /* Connect via TCP to a host. Connection will try ipv4 or ipv6, will
119 * return immediately if nonblocking is set */ 117 * return immediately if nonblocking is set */