memset(file, 0, sizeof(file));
/* Get remote host information */
- silc_socket_stream_get_info(conn->stream, NULL, &hostname, &ip, &port);
+ silc_socket_stream_get_info(silc_packet_stream_get_stream(conn->stream),
+ NULL, &hostname, &ip, &port);
if (conn_type == SILC_CONN_SERVER ||
conn_type == SILC_CONN_ROUTER) {
silc_client_request_authentication_method(client, conn,
silc_get_auth_method_callback,
internal);
+#else
+ completion(TRUE, SILC_AUTH_NONE, NULL, 0, context);
#endif
}