Commit Graph

  • 05dfdd5f54 sync cvs as of 2012-12-14 (cipher-ctr.c removal) master Markus Friedl 2012-12-17 21:22:40 +01:00
  • 011c12f689 sync cvs as of 2012-12-14 (keep cipher-ctr.c) Markus Friedl 2012-12-17 21:15:53 +01:00
  • 88d1ce29a9 sync cvs as of 2012-11-10 Markus Friedl 2012-11-10 16:24:59 +01:00
  • 6ac14552ea stop exporting the_authctxt from sshd.c Markus Friedl 2012-10-12 18:24:19 +02:00
  • 029f8f3db8 mm_newkeys_to/from_blob no longer exist Markus Friedl 2012-10-12 18:09:09 +02:00
  • 976812280c packet.h: remove include of cipher.h Markus Friedl 2012-10-12 18:05:47 +02:00
  • 575e4cb99d replace CipherContext typedef with 'struct sshcipher_ctx' Markus Friedl 2012-10-12 18:02:59 +02:00
  • 337493a508 replace Cipher typedef with 'struct sshcipher' Markus Friedl 2012-10-12 17:58:02 +02:00
  • 7e29b55734 packet.h: replace include of key.h with forward declaration Markus Friedl 2012-10-12 17:53:18 +02:00
  • d2a7c923d7 authfd.c and mac.c do not need kex.h Markus Friedl 2012-10-12 17:49:55 +02:00
  • 2033d3b5ba packet.h: replace include of kex.h with forward declaration Markus Friedl 2012-10-12 17:48:29 +02:00
  • b8e501f9e3 ssh->current_keys is redundant, replace with ssh->kex->newkeys Markus Friedl 2012-10-12 17:36:33 +02:00
  • 12f57cf093 replace Comp typedef with 'struct sshcomp' Markus Friedl 2012-10-12 16:56:40 +02:00
  • 62dfdae606 replace Enc typedef with 'struct sshenc' Markus Friedl 2012-10-12 16:51:58 +02:00
  • 94db174dc6 replace Mac typedef with 'struct sshmac' Markus Friedl 2012-10-12 16:45:42 +02:00
  • e92ff3d5b1 replace Newkeys typedef with 'struct newkeys' Markus Friedl 2012-10-12 16:32:27 +02:00
  • ad4ef1067c replace Kex typedef with 'struct kex' Markus Friedl 2012-10-12 16:22:45 +02:00
  • cfee790064 ssh_api: add copyright Markus Friedl 2012-10-12 16:06:03 +02:00
  • cf692277d7 remove remaining PACKET_SKIP_COMPAT* defines Markus Friedl 2012-10-11 00:14:26 +02:00
  • f72f4b214f replace sshbuf_new/sshbuf_put with sshbuf_from. Markus Friedl 2012-10-10 23:47:45 +02:00
  • 185e7749a3 mux.c: replace sshbuf_get_stringb with sshbuf_froms Markus Friedl 2012-10-10 23:16:31 +02:00
  • 472fc6a429 packet.c: convert to sshbuf_froms() Markus Friedl 2012-10-10 23:04:56 +02:00
  • eab15ba6bf ssh-keygen: missing s/sshbuf_get_stringb/sshbuf_froms/ Markus Friedl 2012-10-10 23:01:40 +02:00
  • 21f1618b17 sshbuf_fixed: the parent buf is not mutable Markus Friedl 2012-10-10 20:36:20 +02:00
  • 371a869f0a unittests: sshbuf_ptr not returns const Markus Friedl 2012-10-10 15:49:54 +02:00
  • c0624b12c7 check sshbuf_mutable_ptr return value, or convert to sshbuf_ptr Markus Friedl 2012-10-07 21:11:45 +02:00
  • b33c381086 s/get_cstring/get_string/ since ssh1 pads passwords with zero Markus Friedl 2012-10-10 01:15:45 +02:00
  • 9d8cfbd2cb umac128_update() now takes a const input Markus Friedl 2012-10-10 00:08:33 +02:00
  • 8f73555808 protect sshbuf_from[bs] children by refusing modification of the parent buffers Damien Miller 2012-10-09 14:33:17 +11:00
  • fa6c75e284 remove sshbuf_reset() made redundant by RO buffer code Damien Miller 2012-10-09 13:19:03 +11:00
  • b305993cea deprecate the buffer_init() sshbuf entrypoint. Damien Miller 2012-10-04 15:25:36 +10:00
  • 25ba47881f re-enable tests that I turned off while debugging RO buffers Damien Miller 2012-10-04 15:25:10 +10:00
  • 60cb7a627f new functions for read-only buffers with external storage Damien Miller 2012-10-04 14:35:28 +10:00
  • a59dfd6051 monitor.c: missing p -> username conversion (use-after-free) Markus Friedl 2012-10-07 21:15:20 +02:00
  • 96b8844e9e sync cvs as of 2012-10-05 Markus Friedl 2012-09-28 18:19:46 +02:00
  • 48278e629e remove remaining calls to packet_* Markus Friedl 2012-09-21 02:28:28 +02:00
  • dcdd40541b replace some active_state with ssh Markus Friedl 2012-09-21 10:11:11 +02:00
  • 78acd9ffb3 convert ssh_put_passwd to ssh_err Markus Friedl 2012-09-21 02:26:34 +02:00
  • 6a728b6af8 remove ktrace that snuck in before my SSD melts Damien Miller 2012-09-21 19:58:23 +10:00
  • 2ae5891148 unbreak test_kex (needs sshbuf.h) Damien Miller 2012-09-21 18:49:52 +10:00
  • d01ff4fdfa remove legacy packet_ calls from ttymodes.c Damien Miller 2012-09-21 16:28:13 +10:00
  • 09db263ce7 unbreak auth w/o privsep Markus Friedl 2012-09-21 11:58:29 +02:00
  • d37e40e233 fix roaming, feedback djm@ Markus Friedl 2012-09-21 01:06:40 +02:00
  • 7ce2b783cb roaming: PACKET_SKIP_COMPAT Markus Friedl 2012-09-20 23:52:27 +02:00
  • fcd631d4b0 channel.c: PACKET_SKIP_COMPAT Markus Friedl 2012-09-20 22:58:50 +02:00
  • 48ca6d1326 remove old packet code from session.c, and pass 'ssh' around.... Markus Friedl 2012-09-20 21:41:51 +02:00
  • 0a153a1e28 ssh.c: PACKET_SKIP_COMPAT Markus Friedl 2012-09-20 19:46:49 +02:00
  • d3255259ea ... and remove packet_send() Damien Miller 2012-09-21 08:52:07 +10:00
  • 065694672e actually remove packet_get_int() Damien Miller 2012-09-21 08:49:35 +10:00
  • 6526ead4fe remove last compat packet_ function from mux.c Damien Miller 2012-09-21 08:15:59 +10:00
  • ff7f9875b2 Delete remnants of old buffer code Damien Miller 2012-09-21 08:05:53 +10:00
  • 5020b06a6b remove the last traces of the old buffer API Damien Miller 2012-09-21 05:35:30 +10:00
  • 4036138982 convert ssh-add.c to new buffer API Damien Miller 2012-09-21 04:47:42 +10:00
  • 34df60f64c convert auth2-chall.c to new buffer API Damien Miller 2012-09-21 04:46:16 +10:00
  • c5fd2d828b convert ssh-keyscan.c to new buffer API Damien Miller 2012-09-21 04:42:52 +10:00
  • 32c4e89225 allow NULL arguments to get_(bignum[12]|ecpoint) functions to allow skipping Damien Miller 2012-09-21 04:40:57 +10:00
  • 9ee9bf1541 convert ssh-keysign.c to new buffer API Damien Miller 2012-09-21 04:25:48 +10:00
  • e7643ba14f convert auth2-hostbased.c schnorr.c ssh-pkcs11-client.c to new buffer API Damien Miller 2012-09-21 04:14:14 +10:00
  • ece6575b3c convert serverloop.c ssh-keygen.c ssh-pkcs11-helper.c to new buffer API Damien Miller 2012-09-21 03:50:06 +10:00
  • 75875617b2 convert clientloop.c to new buffer API Damien Miller 2012-09-21 01:49:10 +10:00
  • 359c0b5398 remove redundant kex->ssh assignment Markus Friedl 2012-09-20 16:32:56 +02:00
  • d45e8a05ab sshd.c: PACKET_SKIP_COMPAT and move creation of 'ssh' to main(). Markus Friedl 2012-09-20 16:08:03 +02:00
  • c726a5f036 fix a crash when loading RSA1 keys Damien Miller 2012-09-21 00:54:19 +10:00
  • 055804bec5 move ssh-agent to new buffer API Damien Miller 2012-09-20 23:44:58 +10:00
  • 025f752c90 convert sftp* to new buffer API Damien Miller 2012-09-20 20:53:54 +10:00
  • 12d60b5fa2 be more careful with initialisation/free Damien Miller 2012-09-20 20:53:23 +10:00
  • 976287cf8d auth1.c: PACKET_SKIP_COMPAT Markus Friedl 2012-09-20 12:57:35 +02:00
  • 657870f5a3 auth2.c: PACKET_SKIP_COMPAT Markus Friedl 2012-09-20 12:40:32 +02:00
  • f49fa0e0b2 auth2-jpake.c: PACKET_SKIP_COMPAT Markus Friedl 2012-09-20 12:27:59 +02:00
  • 45b1a33a8e monitor*.c: make JPAKE compile Markus Friedl 2012-09-20 12:27:34 +02:00
  • 253e997d49 sshconnect2.c: fix JPAKE Markus Friedl 2012-09-20 12:16:43 +02:00
  • 148890964a auth2-kbdint.c: PACKET_SKIP_COMPAT Markus Friedl 2012-09-20 11:34:18 +02:00
  • 1a44de2fcb auth2-hostbased.c: PACKET_SKIP_COMPAT Markus Friedl 2012-09-20 11:31:49 +02:00
  • fbd7e0b979 feedback djm@: no need to protect free(); fix typo Markus Friedl 2012-09-20 11:00:07 +02:00
  • df2113d4ba pass struct ssh to serverloop.c:wait_until_can_do_something() Markus Friedl 2012-09-20 09:49:20 +02:00
  • f72bcc6f56 serverloop.c: PACKET_SKIP_COMPAT Markus Friedl 2012-09-20 09:04:42 +02:00
  • 00783f762b auth2-gss.c: PACKET_SKIP_COMPAT Markus Friedl 2012-09-20 00:18:06 +02:00
  • 866615b686 auth2-chall.c: PACKET_SKIP_COMPAT Markus Friedl 2012-09-20 00:00:13 +02:00
  • c2b17bb9c2 sshconnect1.c: PACKET_SKIP_COMPAT Markus Friedl 2012-09-19 23:12:13 +02:00
  • 23f31b72d2 sshpkt_put_u8 should touch the OUTGOING buffer Markus Friedl 2012-09-19 20:23:38 +02:00
  • 383e471d75 PACKET_SKIP_COMPAT2 for sshconnect2.c Markus Friedl 2012-09-19 18:17:56 +02:00
  • 02c95ed3ec clientloop.c: cleanup and return error in the dispatch functions Markus Friedl 2012-09-19 15:45:59 +02:00
  • 0159ba24d4 ssh_packet_check_eom -> sshpkt_get_end Markus Friedl 2012-09-19 15:28:31 +02:00
  • 69fe69f28d PACKET_SKIP_COMPAT for clientloop.c Markus Friedl 2012-09-19 15:03:19 +02:00
  • a873d2e3a2 convert mux.c to new buffer API Damien Miller 2012-09-20 17:38:56 +10:00
  • 02bdd02dca fix from markus@ - remove replaced buffer_ call Damien Miller 2012-09-20 15:55:03 +10:00
  • 88779e59e4 make leakmalloc work again Damien Miller 2012-09-20 03:39:41 +10:00
  • 54c2c68956 This stated as a conversion of monitor*.[ch] to the new buffer API, but it got away from me... Damien Miller 2012-09-20 01:20:51 +10:00
  • 79d66b3de8 add sshpkt_get(), use it for the rsa-response Markus Friedl 2012-09-19 14:55:31 +02:00
  • a3ba607c6e PACKET_SKIP_COMPAT2: make ssh_packet_put/get optional Markus Friedl 2012-09-19 12:44:07 +02:00
  • 74788552f7 auth2-pubkey.c: PACKET_SKIP_COMPAT Markus Friedl 2012-09-19 12:31:31 +02:00
  • fb19315b10 add -Wuninitialized Markus Friedl 2012-09-19 12:30:29 +02:00
  • 874b586408 auth2-passwd: PACKET_SKIP_COMPAT, no xfree, sshpkt_get* Markus Friedl 2012-09-19 11:07:12 +02:00
  • 7f2a70f96d auth-rsa: set PACKET_SKIP_COMPAT Markus Friedl 2012-09-19 10:55:57 +02:00
  • fa8ee9ffc4 remove DISPATCH_COMPAT Markus Friedl 2012-09-19 10:23:19 +02:00
  • 5f13a96cef convert auth2-gss.c gss-genr.c sshconnect2.c to new buffer API Damien Miller 2012-09-19 19:43:19 +10:00
  • ab2d02776f fix whitespace horror Damien Miller 2012-09-19 19:42:57 +10:00
  • 449fa4049d Convert auth-options.c auth.c auth2-pubkey.c and channels code to new buffer API Damien Miller 2012-09-19 18:40:19 +10:00
  • 48e840c69e fix include guard and some whitespace nits Damien Miller 2012-09-19 18:39:46 +10:00
  • 7acfe18212 fix error return codes Damien Miller 2012-09-19 15:38:04 +10:00