Commit Graph

292 Commits

Author SHA1 Message Date
Damien Miller
d01ff4fdfa remove legacy packet_ calls from ttymodes.c 2012-09-21 19:59:25 +10:00
Markus Friedl
09db263ce7 unbreak auth w/o privsep 2012-09-21 11:58:29 +02:00
Markus Friedl
d37e40e233 fix roaming, feedback djm@ 2012-09-21 01:06:40 +02:00
Markus Friedl
7ce2b783cb roaming: PACKET_SKIP_COMPAT 2012-09-21 00:58:36 +02:00
Markus Friedl
fcd631d4b0 channel.c: PACKET_SKIP_COMPAT 2012-09-21 00:58:36 +02:00
Markus Friedl
48ca6d1326 remove old packet code from session.c, and pass 'ssh' around.... 2012-09-21 00:58:36 +02:00
Markus Friedl
0a153a1e28 ssh.c: PACKET_SKIP_COMPAT 2012-09-21 00:58:36 +02:00
Damien Miller
d3255259ea ... and remove packet_send() 2012-09-21 08:52:07 +10:00
Damien Miller
065694672e actually remove packet_get_int() 2012-09-21 08:49:35 +10:00
Damien Miller
6526ead4fe remove last compat packet_ function from mux.c
add ssh argument to global confirm callbacks. We'll need to put
the head of this list under struct ssh at some time in the future.
2012-09-21 08:15:59 +10:00
Damien Miller
ff7f9875b2 Delete remnants of old buffer code
(I thought I did this already)
2012-09-21 08:05:53 +10:00
Damien Miller
5020b06a6b remove the last traces of the old buffer API
yay :)
2012-09-21 05:35:30 +10:00
Damien Miller
4036138982 convert ssh-add.c to new buffer API
that was refreshingly easy...
2012-09-21 04:47:42 +10:00
Damien Miller
34df60f64c convert auth2-chall.c to new buffer API 2012-09-21 04:46:16 +10:00
Damien Miller
c5fd2d828b convert ssh-keyscan.c to new buffer API 2012-09-21 04:42:52 +10:00
Damien Miller
32c4e89225 allow NULL arguments to get_(bignum[12]|ecpoint) functions to allow skipping 2012-09-21 04:40:57 +10:00
Damien Miller
9ee9bf1541 convert ssh-keysign.c to new buffer API 2012-09-21 04:26:38 +10:00
Damien Miller
e7643ba14f convert auth2-hostbased.c schnorr.c ssh-pkcs11-client.c to new buffer API 2012-09-21 04:26:38 +10:00
Damien Miller
ece6575b3c convert serverloop.c ssh-keygen.c ssh-pkcs11-helper.c to new buffer API 2012-09-21 04:26:38 +10:00
Damien Miller
75875617b2 convert clientloop.c to new buffer API 2012-09-21 04:26:38 +10:00
Markus Friedl
359c0b5398 remove redundant kex->ssh assignment 2012-09-20 17:47:09 +02:00
Markus Friedl
d45e8a05ab sshd.c: PACKET_SKIP_COMPAT and move creation of 'ssh' to main(). 2012-09-20 17:47:09 +02:00
Damien Miller
c726a5f036 fix a crash when loading RSA1 keys
tidy and refactor a little more
2012-09-20 17:39:24 +02:00
Damien Miller
055804bec5 move ssh-agent to new buffer API
factor out key parsing to make it more readable and separable in
the future.
2012-09-20 17:39:24 +02:00
Damien Miller
025f752c90 convert sftp* to new buffer API 2012-09-20 16:34:54 +02:00
Damien Miller
12d60b5fa2 be more careful with initialisation/free 2012-09-20 16:34:54 +02:00
Markus Friedl
976287cf8d auth1.c: PACKET_SKIP_COMPAT 2012-09-20 13:00:33 +02:00
Markus Friedl
657870f5a3 auth2.c: PACKET_SKIP_COMPAT 2012-09-20 12:40:32 +02:00
Markus Friedl
f49fa0e0b2 auth2-jpake.c: PACKET_SKIP_COMPAT 2012-09-20 12:27:59 +02:00
Markus Friedl
45b1a33a8e monitor*.c: make JPAKE compile 2012-09-20 12:27:34 +02:00
Markus Friedl
253e997d49 sshconnect2.c: fix JPAKE 2012-09-20 12:16:43 +02:00
Markus Friedl
148890964a auth2-kbdint.c: PACKET_SKIP_COMPAT 2012-09-20 11:34:42 +02:00
Markus Friedl
1a44de2fcb auth2-hostbased.c: PACKET_SKIP_COMPAT 2012-09-20 11:31:49 +02:00
Markus Friedl
fbd7e0b979 feedback djm@: no need to protect free(); fix typo 2012-09-20 11:15:46 +02:00
Markus Friedl
df2113d4ba pass struct ssh to serverloop.c:wait_until_can_do_something() 2012-09-20 11:15:46 +02:00
Markus Friedl
f72bcc6f56 serverloop.c: PACKET_SKIP_COMPAT 2012-09-20 11:15:46 +02:00
Markus Friedl
00783f762b auth2-gss.c: PACKET_SKIP_COMPAT 2012-09-20 11:15:46 +02:00
Markus Friedl
866615b686 auth2-chall.c: PACKET_SKIP_COMPAT 2012-09-20 11:15:46 +02:00
Markus Friedl
c2b17bb9c2 sshconnect1.c: PACKET_SKIP_COMPAT 2012-09-20 11:15:46 +02:00
Markus Friedl
23f31b72d2 sshpkt_put_u8 should touch the OUTGOING buffer 2012-09-20 11:15:46 +02:00
Markus Friedl
383e471d75 PACKET_SKIP_COMPAT2 for sshconnect2.c 2012-09-20 11:15:45 +02:00
Markus Friedl
02c95ed3ec clientloop.c: cleanup and return error in the dispatch functions 2012-09-20 11:15:45 +02:00
Markus Friedl
0159ba24d4 ssh_packet_check_eom -> sshpkt_get_end 2012-09-20 11:15:45 +02:00
Markus Friedl
69fe69f28d PACKET_SKIP_COMPAT for clientloop.c 2012-09-20 11:15:45 +02:00
Damien Miller
a873d2e3a2 convert mux.c to new buffer API 2012-09-20 17:38:56 +10:00
Damien Miller
02bdd02dca fix from markus@ - remove replaced buffer_ call 2012-09-20 15:55:03 +10:00
Damien Miller
88779e59e4 make leakmalloc work again
sort of, it looks like PIE has broken it on other ways
2012-09-20 03:39:41 +10:00
Damien Miller
54c2c68956 This stated as a conversion of monitor*.[ch] to the new
buffer API, but it got away from me...

Includes a change from u_int -> size_t in the key API that
touches quite a few things
2012-09-20 01:22:35 +10:00
Markus Friedl
79d66b3de8 add sshpkt_get(), use it for the rsa-response 2012-09-19 14:55:31 +02:00
Markus Friedl
a3ba607c6e PACKET_SKIP_COMPAT2: make ssh_packet_put/get optional 2012-09-19 12:45:22 +02:00