path: root/include/libssh/priv.h
AgeCommit message (Collapse)AuthorFilesLines
2018-10-30include: Add stddef.h for size_tv0-7Andreas Schneider1-0/+2
Fixes T119 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-10-17misc: Add strndup implementation if not provides by the OSAndreas Schneider1-0/+4
Fixes T112 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 247983e9820fd264cb5a59c14cc12846c028bd08)
2016-11-07misc: Use simpler macros for htonll and ntohllAndreas Schneider1-0/+18
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 52efbc3a23fd62640177c96a14df76c42a1b462c)
2016-05-03priv: Fix client banner specification for libsshAndreas Schneider1-2/+2
BUG: https://red.libssh.org/issues/231 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 4f7be0dbb21cb0dd68f4f2b0ad28e1b4fa474082)
2016-05-02auth: Cleanup memory leak when using SSH agentStef Walter1-0/+2
In Cockpit we've seen this memory leak: at 0x4C2A9C7: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x5B76B03: ssh_userauth_agent (auth.c:778) by 0x40DD5A: cockpit_ssh_authenticate (cockpitsshtransport.c:327) BUG: https://red.libssh.org/issues/208 Signed-off-by: Stef Walter <stefw@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit ffe8b98cc2ee975c461322f0f119a398d783bdf7)
2015-10-20agent: Fix agent auth on big endian machinesAndreas Schneider1-0/+10
BUG: https://red.libssh.org/issues/204 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-06-30include: Add stdarg.h so we can check for va_copy macroAndreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-06-24include: Add support for older MSVC versionsAndreas Schneider1-0/+4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 30a7229fc5f147c9f39abfa9272546773f58678c)
2015-05-05include: Fix variadic macro issues with MSVCAndreas Schneider1-1/+9
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-10bind: Correctly close sockets and invalidate them.Andreas Schneider1-0/+6
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-02cmake: Detect __func__ and __FUNCTION__ during configure stepAndreas Schneider1-2/+6
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-02include: We should use __func__ which is C99Andreas Schneider1-8/+6
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-08buffer: buffer_pack & unpack on non-gnu compilersAris Adamantiadis1-0/+5
2015-02-02buffer: Improve argument checking in ssh_buffer_pack()Andreas Schneider1-0/+24
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be>
2014-02-02src: Define MAX_BUF_SIZE globally and use it.Joseph Southwell1-0/+13
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2014-02-02build: remove OSX deprecated warnings for opensslAris Adamantiadis1-10/+0
2014-01-08include: Remove warning cause VSC doesn't know about it.Andreas Schneider1-1/+0
2014-01-08include: Fix building if we do not have asm volatile.Andreas Schneider1-1/+2
2013-11-04remove warnings on OSX (workaround)Aris Adamantiadis1-0/+10
2013-11-03priv: Fix brackets of burn macros.Andreas Schneider1-2/+2
2013-10-30cmake: Check for isblank().Andreas Schneider1-1/+3
2013-08-13include: Add a MIN macro.Andreas Schneider1-2/+3
2013-07-27include: Fix a build warning in MinGW.Andreas Schneider1-0/+1
2013-07-23cmake: Check for HAVE_GCC_VOLATILE_MEMORY_PROTECTION.Andreas Schneider1-2/+35
This ensures that the memset call is not optimized out by the compiler (works works with gcc and clang).
2013-07-22cmake: Check for _strtoui64() on Windows.Andreas Schneider1-13/+12
2013-07-21log: Make _ssh_log() public.Andreas Schneider1-4/+0
2013-07-14src: Remove enter_function() and leave_function().Andreas Schneider1-3/+0
2013-07-14error: Use new logging function.Andreas Schneider1-0/+4
2013-07-14log: Implment new logging functions.Andreas Schneider1-5/+7
2013-07-14cmake: Check if we have Thread Local Storage support.Andreas Schneider1-0/+8
2013-07-14server: Fix compilation without WITH_SERVERAris Adamantiadis1-1/+2
2013-07-13auth: adapt libssh to gssapi-with-mic serverAris Adamantiadis1-2/+3
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-03-13priv: Make really sure memset doesn't get optimzed out.Andreas Schneider1-2/+2
2013-01-23include: Fix the LGPL header.Andreas Schneider1-12/+11
This has been reported by rpmlint: libssh-devel.x86_64: W: incorrect-fsf-address libssh.h
2012-12-03BUG 97: Fix strtoull() detection on serveral platforms.Andreas Schneider1-1/+13
2012-11-23priv: Add BURN_BUFFER macro and make sure it isn't optimzed out.Andreas Schneider1-2/+5
2011-09-18packet: Move packet callbacks to packet_cb.c.Andreas Schneider1-11/+0
2011-09-18priv: Remove dead prototype.Andreas Schneider1-2/+0
2011-09-18crypt: Rename to packet_crypt.Andreas Schneider1-16/+0
2011-09-18priv: Remove crypto.h and add correct includes to src files.Andreas Schneider1-1/+0
2011-09-18socket: Move socket function to right location.Andreas Schneider1-2/+0
2011-09-18priv: Create crc32.h.Andreas Schneider1-4/+0
As crc32 is only needed by SSHv1, build it only with SSHv1.
2011-09-18priv: Move gcrypt functions to gcrypt header.Andreas Schneider1-6/+0
2011-09-18priv: Start to remove enter_function.Andreas Schneider1-59/+38
2011-09-18priv: Move kex functions to kex header.Andreas Schneider1-14/+1
2011-09-18priv: Move options and config prototypes to own header.Andreas Schneider1-7/+0
2011-09-18priv: Move defines to the top.Andreas Schneider1-15/+8
2011-09-18server: split dh_handsake_serverAris Adamantiadis1-0/+1
2011-09-18kex: split key selection and sendingAris Adamantiadis1-7/+4
2011-09-17log: Split do_ssh_log().Andreas Schneider1-0/+3