summaryrefslogtreecommitdiffstats
path: root/package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch
Commit message (Collapse)AuthorAgeFilesLines
* dropbear: bump versionPeter Korsgaard2014-02-191-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes a number of issues. From the changelog: - Avoid getting stuck in a loop writing huge key files, reported by Bruno Thomsen - Avoid crash on exit due to cleaned up keys before last packets are sent, debugged by Ronald Wahl - Fix a race condition in rekeying where Dropbear would exit if it received a still-in-flight packet after initiating rekeying. Reported by Oliver Metz. This is a longstanding bug but is triggered more easily since 2013.57 - Ensure that generated RSA keys are always exactly the length requested. Previously Dropbear always generated N+16 or N+15 bit keys. Thanks to Unit 193 - Fix DROPBEAR_CLI_IMMEDIATE_AUTH mode which saves a network round trip if the first public key succeeds. Still not enabled by default, needs more compatibility testing with other implementations. - Fix signal handlers so that errno is saved, thanks to Erik Ahlén for a patch and Mark Wickham for independently spotting the same problem. And at the same time get rid of the TIMEVAL_TO_TIMESPEC as dropbear provides a fallback implementation if not available (and has done so since 2006). Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Fix dropbear compilation with glibcThomas Petazzoni2009-07-011-1/+1
| | | | | | | | | | | The patch introduced at c579e32dbe6d927bdcfffeede18123aa92abbdd5 was incorrect, since __USE_GNU is an internal C library defined, and should not be used by programs. _GNU_SOURCE should be used instead. This fixes a build failure on Dropbear when compiling against a glibc-based toolchain. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Fix header file to use __USE_GNU so that TIMEVAL_TO_TIMESPEC gets defined, ↵"Steven J. Hill"2006-03-161-0/+11
otherwise latest dropbear does not build.
OpenPOWER on IntegriCloud