]> andersk Git - gssapi-openssh.git/commitdiff
oops. undoing last checkin. it was broken.
authorjbasney <jbasney>
Thu, 4 Apr 2002 21:07:50 +0000 (21:07 +0000)
committerjbasney <jbasney>
Thu, 4 Apr 2002 21:07:50 +0000 (21:07 +0000)
openssh/packet.c
openssh/packet.h
openssh/sshconnect1.c

index 045d5a10556d7a8b8f840482f8800849c6bf5cab..b9e0de54aae302a59025e3f54fba9d3e38fe13f4 100644 (file)
@@ -1040,6 +1040,13 @@ packet_get_string(u_int *length_ptr)
        return buffer_get_string(&incoming_packet, length_ptr);
 }
 
+/* Clears incoming data buffer */
+
+void packet_get_all(void)
+{
+  buffer_clear(&incoming_packet);
+}
+
 /*
  * Sends a diagnostic message from the server to the client.  This message
  * can be sent at any time (but not while constructing another message). The
index d6bf2aab484f8cb173fc04a76ed30804358b3c7b..b5794528b670b6360e3feb7edcd2d355da09c36e 100644 (file)
@@ -53,6 +53,7 @@ void     packet_get_bignum(BIGNUM * value);
 void     packet_get_bignum2(BIGNUM * value);
 void   *packet_get_raw(int *length_ptr);
 void   *packet_get_string(u_int *length_ptr);
+void   packet_get_all(void);
 void     packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1, 2)));
 void     packet_send_debug(const char *fmt,...) __attribute__((format(printf, 1, 2)));
 
index b076accdb14d5c359b7a3749d0b26d91be7bf1b1..255271fb21322b4b19ec120e22305a7413546b7f 100644 (file)
@@ -964,11 +964,6 @@ try_password_authentication(char *prompt)
 
 gss_cred_id_t gss_cred = GSS_C_NO_CREDENTIAL;
 
-void packet_get_all(void)
-{
-  buffer_clear(&incoming_packet);
-}
-
 static void display_status_1(m, code, type)
  char *m;
  OM_uint32 code;
This page took 0.17963 seconds and 5 git commands to generate.