12 Commits

Author SHA1 Message Date
Markus Friedl
011c12f689 sync cvs as of 2012-12-14 (keep cipher-ctr.c) 2012-12-30 09:09:52 +01:00
Markus Friedl
c0624b12c7 check sshbuf_mutable_ptr return value, or convert to sshbuf_ptr 2012-10-10 01:25:20 +02:00
Damien Miller
60cb7a627f new functions for read-only buffers with external storage
This adds some new functions: sshbuf_from(), sshbuf_fromb() and sshbuf_froms()
that create new buffers from a read-only blob, the contents of a buffer and
the contents of a string in a buffer respectively. In all cases the memory
contents are not copied - the new buffer, which is read-only, just refers to
the original location in memory.
2012-10-09 23:22:53 +02:00
Markus Friedl
48278e629e remove remaining calls to packet_* 2012-09-21 12:07:07 +02:00
Markus Friedl
00783f762b auth2-gss.c: PACKET_SKIP_COMPAT 2012-09-20 11:15:46 +02:00
Damien Miller
5f13a96cef convert auth2-gss.c gss-genr.c sshconnect2.c to new buffer API 2012-09-19 19:43:19 +10:00
Markus Friedl
0e69e20693 dispatch_fn() now returns an error code (int) instead of void 2012-01-17 14:37:26 +01:00
Markus Friedl
bb19f6ffb3 switch sshd-auth2 to ssh_packet_* 2012-01-17 14:32:48 +01:00
Markus Friedl
a9e3bee9b9 switch sshd-auth2 code from dispatch to ssh_dispatch 2012-01-17 14:32:48 +01:00
Markus Friedl
c8197a3b42 change all protocol handlers from 'void *' to 'struct ssh *' 2012-01-17 14:32:48 +01:00
Markus Friedl
b1920d0ebe sshd: pass struct ssh instead of authctxt to authentication handlers 2012-01-17 14:32:48 +01:00
Markus Friedl
a87828ec88 import openssh as of 2012/01/05 2012-01-05 12:08:12 +01:00