summaryrefslogtreecommitdiffstats
path: root/msg.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-02-28portability fixes for regress/netcat.cDamien Miller1-8/+8
Mostly avoiding "err(1, NULL)"
2015-02-28twiddle another test for portabilityDamien Miller1-1/+1
from Tom G. Christensen
2015-02-28twiddle test for portabilityDamien Miller1-1/+1
2015-02-27make regress/netcat.c fd passing (more) portableDamien Miller1-21/+25
2015-02-27create OBJ/valgrind-out before running unittestsDamien Miller1-1/+4
2015-02-26valgrind supportDamien Miller7-25/+97
2015-02-26upstream commitdjm@openbsd.org1-2/+3
don't printf NULL key comments; reported by Tom Christensen
2015-02-26upstream commitdjm@openbsd.org1-1/+3
zero cmsgbuf before use; we initialise the bits we use but valgrind still spams warning on it
2015-02-26upstream commitdjm@openbsd.org1-4/+4
fix small memory leak when UpdateHostkeys=no
2015-02-25Revert "Work around finicky USL linker so netcat will build."Tim Rice1-1/+1
This reverts commit d1db656021d0cd8c001a6692f772f1de29b67c8b. No longer needed with commit 678e473e2af2e4802f24dd913985864d9ead7fb3
2015-02-25upstream commitdjm@openbsd.org1-2/+3
don't leak validity of user in "too many authentication failures" disconnect message; reported by Sebastian Reitenbach
2015-02-25upstream commitnaddy@openbsd.org2-4/+5
add -v (show ASCII art) to -l's synopsis; ok djm@
2015-02-25Remove dependency on xmalloc.Darren Tucker1-7/+7
Remove ssh_get_progname's dependency on xmalloc, which should reduce link order problems. ok djm@
2015-02-25Restrict ECDSA and ECDH tests.Darren Tucker3-0/+24
ifdef out some more ECDSA and ECDH tests when built against an OpenSSL that does not have eliptic curve functionality.
2015-02-25Move definition of _NSIG.Darren Tucker2-8/+8
_NSIG is only unsed in one file, so move it there prevent redefinition warnings reported by Kevin Brott.
2015-02-25Add includes.h for compatibility stuff.Darren Tucker1-0/+2
2015-02-25include netdb.h to look for MAXHOSTNAMELEN; ok timDamien Miller2-1/+2
2015-02-24Work around finicky USL linker so netcat will build.Tim Rice1-1/+1
2015-02-24include includes.h to avoid build failure on AIXDamien Miller3-0/+6
2015-02-24Original portability patch from djm@ for platforms missing err.h.Tim Rice1-14/+53
Fix name space clash on Solaris 10. Still more to do for Solaris 10 to deal with msghdr structure differences. ok djm@
2015-02-24cleaner way fix dispatch.h portion of commitTim Rice2-3/+1
a88dd1da119052870bb2654c1a32c51971eade16 (some systems have sig_atomic_t in signal.h, some in sys/signal.h) Sounds good to me djm@
2015-02-24portability fix: if we can't dind a better define for HOST_NAME_MAX, use 255Tim Rice1-0/+2
2015-02-24portablity fix: s/__inline__/inline/Tim Rice1-1/+1
2015-02-24Wrap stdint.h includes in HAVE_STDINT_H.Darren Tucker3-0/+6
2015-02-24Add AI_NUMERICSERV to fake-rfc2553.Darren Tucker1-0/+3
Our getaddrinfo implementation always returns numeric values already.
2015-02-24Include OpenSSL's objects.h before bn.h.Darren Tucker1-0/+1
Prevents compile errors on some platforms (at least old GCCs and AIX's XLC compilers).
2015-02-24Convert two macros into functions.Darren Tucker2-4/+29
Convert packet_send_debug and packet_disconnect from macros to functions. Some older GCCs (2.7.x, 2.95.x) see to have problems with variadic macros with only one argument so we convert these two into functions. ok djm@
2015-02-23upstream commitdjm@openbsd.org1-2/+2
further silence spurious error message even when -v is specified (e.g. to get visual host keys); reported by naddy@
2015-02-23don't include stdint.h unless HAVE_STDINT_H setDamien Miller3-0/+6
2015-02-23nother sys/queue.h -> sys-queue.h fixDamien Miller1-1/+1
spotted by Tom Christensen
2015-02-23upstream commitdjm@openbsd.org1-3/+6
fix a race condition by using a mux socket rather than an ineffectual wait statement
2015-02-23various include fixes for portableDamien Miller2-1/+4
2015-02-23upstream commitdjm@openbsd.org1-1/+4
add an XXX to remind me to improve sshkey_load_public
2015-02-23upstream commitdjm@openbsd.org1-2/+2
silence a spurious error message when listing fingerprints for known_hosts; bz#2342
2015-02-23upstream commitdjm@openbsd.org1-4/+9
fix setting/clearing of TTY raw mode around UpdateHostKeys=ask confirmation question; reported by Herb Goldman
2015-02-22Repair for non-ECC OpenSSL.Darren Tucker6-0/+16
Ifdef out the ECC parts when building with an OpenSSL that doesn't have it.
2015-02-22Wrap stdint.h includes in ifdefs.Darren Tucker3-0/+6
2015-02-22out of tree build fixTim Rice1-2/+2
2015-02-22mkdir kex unit test directory so testing out of tree builds worksTim Rice1-0/+2
2015-02-21upstream commithalex@openbsd.org1-4/+10
make "ssh-add -d" properly remove a corresponding certificate, and also not whine and fail if there is none ok djm@
2015-02-21mkdir hostkey and bitmap unit test directoriesDamien Miller1-6/+10
2015-02-21upstream commitdjm@openbsd.org1-3/+3
sort options useable under Match case-insensitively; prodded jmc@
2015-02-21upstream commitdjm@openbsd.org2-3/+3
correct paths to configuration files being written/updated; they live in $OBJ not cwd; some by Roumen Petrov
2015-02-21More correct checking of HAVE_DECL_AI_NUMERICSERV.Darren Tucker1-2/+4
2015-02-21Add null declaration of AI_NUMERICINFO.Darren Tucker2-0/+11
Some platforms (older FreeBSD and DragonFly versions) do have getaddrinfo() but do not have AI_NUMERICINFO. so define it to zero in those cases.
2015-02-20upstream commitdjm@openbsd.org1-4/+10
more options that are available under Match; bz#2353 reported by calestyo AT scientia.net
2015-02-20upstream commitdjm@openbsd.org7-30/+42
UpdateHostKeys fixes: I accidentally changed the format of the hostkeys@openssh.com messages last week without changing the extension name, and this has been causing connection failures for people who are running -current. First reported by sthen@ s/hostkeys@openssh.com/hostkeys-00@openssh.com/ Change the name of the proof message too, and reorder it a little. Also, UpdateHostKeys=ask is incompatible with ControlPersist (no TTY available to read the response) so disable UpdateHostKeys if it is in ask mode and ControlPersist is active (and document this)
2015-02-20upstream commitdjm@openbsd.org1-3/+3
Regression: I broke logging of public key fingerprints in 1.46. Pointed out by Pontus Lundkvist
2015-02-18repair --without-openssl; broken in refactorDamien Miller6-6/+64
2015-02-17hook up hostkeys unittest to portable MakefilesDamien Miller3-2/+20