summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2015-05-05Turn Algo_Type's name attribute into const char *Gaël PORTAY
2015-05-05Turn local key_indent variable into char *Gaël PORTAY
2015-05-05Turn get_response()'s return type and prompt argument into char *Gaël PORTAY
2015-05-05Turn type local variable into char *Gaël PORTAY
2015-05-05Turn ChanSess's tty and term attributes into char *Gaël PORTAY
2015-05-05Turn cleantext()'s dirtytext argument into char *Gaël PORTAY
2015-05-05Turn username, servicename and methodname local variables into char *Gaël PORTAY
Changing checkusername()'s username argument into char * as well.
2015-05-05Turn sendaddr, listenaddr and request_listenaddr local variables into char *Gaël PORTAY
2015-05-05Turn send_msg_channel_open_failure()'s text and lang into const char *Gaël PORTAY
2015-05-05Turn start_send_channel_request()'s type argument into char *Gaël PORTAY
2015-05-05Turn addrandom()'s buf argument into unsigned char *Gaël PORTAY
Data is usually represented as "unsigned char *" like genrandom().
2015-05-05Expect len to be a type of socklen_t [-Werror=pointer-sign]Gaël PORTAY
2015-05-05Fix pointer differ in signess warnings [-Werror=pointer-sign]Gaël PORTAY
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