summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2015-05-05Fix unused make_connection_string() warning [-Werror=unused-function]Gaël PORTAY
This function is used when USE_VFORK is unset.
2015-05-05Fix unused but set variable warnings [-Werror=unused-but-set-variable]Gaël PORTAY
2015-05-05Fix unused parameters warnings [-Werror=unused-parameter]Gaël PORTAY
2015-05-05Uses abort() instead of raising a SIGABRT signal [-Werror]Gaël PORTAY
error: ‘noreturn’ function does return [-Werror] abort() is a noreturn function while raise() is not. And because crypt_argchk() is flagged as __attribute__(noreturn), abort() appears to be a better condidate. This compilation warning has probably been introduced by commit 1809f741cba865b03d4db5c4ba8c41364a55d6bc.
2015-05-05Uses k_size as an signed integerGaël PORTAY
buf_incrwritepos() and mp_to_unsigned_bin() functions use k_size as signed integer argument. k_size is also used in an assertion that compared it to curve_size which is a signed long. Only buf_getwriteptr() is using k_size as unsigned. So it safe to use it as signed.
2015-05-05Test struct existance against sizeof() operatorGaël PORTAY
Instead of declaring an "unused-variable" or "unused-but-set-variable" structure. This avoid unexpected broken configurations when using something like: $ ./configure CFLAGS="-Wall -Wextra -Werror" It causes AC_COMPILE_IFELSE to fail and thus leading to a mismatch configuration (because the CFLAGS are passed to the macro).
2015-05-02fix travis moreMatt Johnston
2015-05-02bad travis syntaxMatt Johnston
2015-05-02add no-writev buildMatt Johnston
2015-05-02Fix no-writev fallbackMatt Johnston
2015-04-17Should be AF_UNSPEC not PF_UNSPECMatt Johnston
2015-04-14fastopen code was totally brokenMatt Johnston
2015-03-21Avoid channel writev() when there is nothing to writeMatt Johnston
2015-03-20Make main socket nonblocking. Limit writequeue size.Matt Johnston
2015-03-20Fix when iov queue is largeMatt Johnston
2015-03-20avoid malloc for iovecMatt Johnston
2015-03-16dropbear_assert() rather than assert()Matt Johnston
2015-03-11strdup strerrorMatt Johnston
2015-03-03Fix error handling for dbclient async connectMatt Johnston
2015-03-02more changesMatt Johnston
2015-03-02changes (also testing hg bookmarks)Matt Johnston
2015-03-01mergeMatt Johnston
2015-03-01reword comment for clarityMatt Johnston
--HG-- branch : nocircbuffer
2015-03-01Fix pubkey auth after change to reuse ses.readbuf as ses.payloadMatt Johnston
(4d7b4c5526c5) --HG-- branch : nocircbuffer
2015-03-01Fix some memory leaks in ecc codeMatt Johnston
2015-03-01allocate buffer and data in a single allocationMatt Johnston
--HG-- branch : nocircbuffer
2015-03-01Avoid malloc in hmacMatt Johnston
--HG-- branch : nocircbuffer
2015-03-01A bit of a bodge to avoid memcpy if zlib is disabledMatt Johnston
--HG-- branch : nocircbuffer
2015-03-01Avoid copying data into circular bufferMatt Johnston
--HG-- branch : nocircbuffer
2015-02-28Better failure handlingMatt Johnston
2015-02-28merge tcp fastopenMatt Johnston
2015-02-28Add cleanupMatt Johnston
--HG-- branch : fastopen
2015-02-28merge from defaultMatt Johnston
--HG-- branch : fastopen
2015-02-27EINPROGRESS for sendmsg() means it's working OKMatt Johnston
--HG-- branch : fastopen
2015-02-26ignore any sendmsg() errorsMatt Johnston
--HG-- branch : fastopen
2015-02-24Use m_burn rather than memsetThorsten Horstmann
2015-02-24Avoid cppcheck warningThorsten Horstmann
2015-02-24Add more ATTRIB_NORETURN annotations, from Thorsten HorstmannMatt Johnston
2015-02-24Revert accidental commented out signal handlersMatt Johnston
2015-02-24Some additional cleanup functionsMatt Johnston
2015-02-24Free memory before exiting. Based on patch from Thorsten Horstmann.Matt Johnston
Client side is not complete.
2015-02-24Use m_close() which will avoid close(-1)Matt Johnston
2015-02-24Fix for old compilers, variable declarations at beginning of functionsThorsten Horstmann
and /**/ comments
2015-02-24Some minor typo fixes, found by codespell.Thorsten Horstmann
2015-02-24DROPBEAR_ prefix for include guards to avoid collisionsThorsten Horstmann
2015-02-21get rid of some unnecessary codeMatt Johnston
--HG-- branch : fastopen
2015-02-20avoid some warningsMatt Johnston
--HG-- branch : fastopen
2015-02-20Fixes for backwards compatibilityMatt Johnston
--HG-- branch : fastopen
2015-02-20Move generic network routines to netio.cMatt Johnston
--HG-- branch : fastopen
2015-02-20Update priority once the socket is openMatt Johnston
--HG-- branch : fastopen