openssh-portable/openbsd-compat
Darren Tucker afffd31036 Check if memmem is declared in system headers.
If the system (or one of the dependencies) implements memmem but does
not define the header, we would not declare it either resulting in
compiler warnings.  Check for declaration explicitly.  bz#3102.
2019-12-11 13:22:06 +11:00
..
regress Fix mem leak in unit test. 2019-08-05 21:36:48 +10:00
Makefile.in compile sk-dummy.so with no-PIE version of LDFLAGS 2019-11-29 15:10:21 +11:00
arc4random.c prefer to use getrandom() for PRNG seeding 2018-04-13 13:32:23 +10:00
base64.c
base64.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
basename.c
bcrypt_pbkdf.c Many typo fixes from Karsten Weiss 2018-04-10 10:19:02 +10:00
bindresvport.c initialise salen in binresvport_sa 2016-05-10 09:51:06 +10:00
blf.h - [configure.ac openbsd-compat/Makefile.in openbsd-compat/bcrypt_pbkdf.c] 2013-12-07 11:51:51 +11:00
blowfish.c Wrap blf.h include in ifdef. From FreeBSD. 2015-04-07 10:47:15 +10:00
bsd-asprintf.c Don't avoid our *sprintf replacements. 2018-10-12 16:58:47 +11:00
bsd-closefrom.c fixed test in OSX closefrom() replacement 2019-09-02 10:28:42 +10:00
bsd-cygwin_util.c Replace alloca with xcalloc. 2019-03-13 10:49:16 +11:00
bsd-cygwin_util.h Use Cygwin-specific matching only for users+groups. 2019-03-12 09:19:19 +11:00
bsd-err.c Add missing includes for bsd-err.c. 2017-08-27 08:55:40 +10:00
bsd-flock.c typo: missing ; 2018-02-26 14:39:14 +11:00
bsd-getline.c Defer setting bufsiz in getdelim. 2018-07-06 13:32:02 +10:00
bsd-getpagesize.c Include includes.h for HAVE_GETPAGESIZE. 2017-10-31 10:09:33 +11:00
bsd-getpeereid.c
bsd-malloc.c Handle calloc(0,x) where different from malloc. 2018-02-26 00:09:04 +11:00
bsd-misc.c Add implementation of localtime_r. 2019-10-29 20:48:46 +11:00
bsd-misc.h Add missing bracket in realpath macro. 2019-11-01 18:27:37 +11:00
bsd-nextstep.c Strip trailing whitespace. 2016-08-02 09:44:25 +10:00
bsd-nextstep.h Many typo fixes from Karsten Weiss 2018-04-10 10:19:02 +10:00
bsd-openpty.c Don't install duplicate STREAMS modules on Solaris 2019-04-26 18:06:34 +10:00
bsd-poll.c Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-poll.h expose POLLHUP and POLLNVAL for netcat.c 2015-08-21 15:45:02 +10:00
bsd-setres_id.c Fix format string integer type in error message. 2019-07-19 07:23:26 +10:00
bsd-setres_id.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-signal.c Re-add SA_RESTART to mysignal. 2019-10-11 14:12:16 +11:00
bsd-signal.h Move signal compat code into bsd-signal.{c,h} 2018-02-11 21:24:48 +11:00
bsd-snprintf.c Many typo fixes from Karsten Weiss 2018-04-10 10:19:02 +10:00
bsd-statvfs.c Make sure we have struct statfs before using. 2019-10-28 16:27:53 +11:00
bsd-statvfs.h bsd-statvfs: include sys/vfs.h, check for f_flags. 2018-02-26 00:09:04 +11:00
bsd-waitpid.c Replace spaces with tabs. 2016-08-02 10:01:52 +10:00
bsd-waitpid.h Many typo fixes from Karsten Weiss 2018-04-10 10:19:02 +10:00
chacha_private.h - (djm) [openbsd-compat/arc4random.c openbsd-compat/chacha_private.h] Pull 2013-10-09 10:42:32 +11:00
charclass.h
daemon.c
dirname.c
explicit_bzero.c Many typo fixes from Karsten Weiss 2018-04-10 10:19:02 +10:00
fake-rfc2553.c Replace spaces with tabs. 2016-08-02 10:01:52 +10:00
fake-rfc2553.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
fmt_scaled.c sync fmt_scaled.c 2018-05-14 14:40:08 +10:00
fnmatch.c Hook up fnmatch for platforms that don't have it. 2019-11-01 18:27:37 +11:00
fnmatch.h Define __BSD_VISIBLE in fnmatch.h. 2019-11-02 22:46:22 +11:00
freezero.c Include stdlib.h for declaration of free. 2018-07-11 12:14:09 +10:00
getcwd.c Repair $OpenBSD markers. 2016-08-02 09:06:27 +10:00
getgrouplist.c Repair $OpenBSD markers. 2016-08-02 09:06:27 +10:00
getopt.h - (dtucker) [openbsd-compat/getopt.h] Remove unneeded bits. 2013-05-17 16:03:48 +10:00
getopt_long.c - (dtucker) [openbsd-compat/getopt.h openbsd-compat/getopt_long.c 2013-05-10 18:08:49 +10:00
getrrsetbyname-ldns.c avoid uninitialised free of ldns_res 2014-12-30 08:16:11 +11:00
getrrsetbyname.c - (dtucker) [INSTALL LICENCE configure.ac openbsd-compat/Makefile.in 2011-11-04 11:25:24 +11:00
getrrsetbyname.h
glob.c upstream commit 2019-11-15 16:06:30 +11:00
glob.h upstream commit 2019-11-15 16:06:30 +11:00
inet_aton.c whitespace at EOL 2016-05-31 16:45:28 +10:00
inet_ntoa.c
inet_ntop.c
kludge-fd_set.c - (djm) [openbsd-compat/Makefile.in openbsd-compat/kludge-fd_set.c] 2014-10-01 09:43:07 +10:00
libressl-api-compat.c fix compilation with openssl built without ECC 2018-11-09 14:19:24 +11:00
md5.c support --without-openssl at configure time 2015-01-14 21:48:18 +11:00
md5.h support --without-openssl at configure time 2015-01-14 21:48:18 +11:00
memmem.c Hook memmem compat code into build. 2019-07-16 09:21:20 +10:00
mktemp.c
openbsd-compat.h Check if memmem is declared in system headers. 2019-12-11 13:22:06 +11:00
openssl-compat.c Reverse order of OpenSSL init functions. 2018-11-25 14:05:57 +11:00
openssl-compat.h refactor libcrypto initialisation 2018-11-23 10:42:05 +11:00
port-aix.c Put headers inside ifdef _AIX. 2019-11-13 11:19:26 +11:00
port-aix.h Remove "struct ssh" from sys_auth_record_login. 2019-04-03 06:27:45 +11:00
port-irix.c Move log.h include inside ifdefs. 2019-07-08 17:27:26 +10:00
port-irix.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
port-linux.c Include stdlib.h. 2018-09-07 14:01:39 +10:00
port-linux.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
port-net.c Fix tunnel forwarding broken in 7.7p1 2018-04-13 13:38:06 +10:00
port-net.h fix rdomain compilation errors 2017-10-27 08:42:33 +11:00
port-solaris.c retain Solaris PRIV_FILE_LINK_ANY in sftp-server 2019-09-02 10:22:02 +10:00
port-solaris.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
port-uw.c check for NULL return from shadow_pw() 2018-10-11 11:03:54 +11:00
port-uw.h
pwcache.c Cast *ID types to unsigned long when printing. 2019-07-06 13:02:34 +10:00
readpassphrase.c Move signal compat code into bsd-signal.{c,h} 2018-02-11 21:24:48 +11:00
readpassphrase.h
reallocarray.c Wrap stdint.h includes in ifdefs. 2015-02-23 03:07:24 +11:00
recallocarray.c Wrap stdint.h include in #ifdef. 2017-06-09 13:36:29 +10:00
rmd160.c Wrap endian.h include inside ifdef (bz#2370). 2015-04-17 10:40:23 +10:00
rmd160.h support --without-openssl at configure time 2015-01-14 21:48:18 +11:00
rresvport.c
setenv.c
setproctitle.c Include stdio.h for vsnprintf. 2019-06-16 12:55:27 +10:00
sha1.c upstream rev 1.27: fix integer overflow. 2019-06-14 14:22:39 +10:00
sha1.h support --without-openssl at configure time 2015-01-14 21:48:18 +11:00
sha2.c Make MAKE_CLONE no-op macro more correct. 2019-10-09 09:36:06 +11:00
sha2.h Remove sys/cdefs.h include. 2019-07-23 22:36:39 +10:00
sigact.c
sigact.h
strcasestr.c Add strcasestr to compat library. 2016-12-13 10:23:03 +11:00
strlcat.c
strlcpy.c
strmode.c
strndup.c Use includes.h instead of config.h. 2018-04-29 17:54:12 +10:00
strnlen.c Use includes.h instead of config.h. 2018-04-29 17:54:12 +10:00
strptime.c
strsep.c
strtoll.c
strtonum.c
strtoul.c
strtoull.c - (dtucker) [configure.ac openbsd-compat/Makefile.in openbsd-compat/strtoull.c 2013-02-15 12:13:01 +11:00
sys-queue.h Also undef SIMPLEQ_FOREACH_SAFE. 2019-01-24 10:07:03 +11:00
sys-tree.h - (dtucker) [configure.ac openbsd-compat/sys-tree.h] Test if compiler allows 2013-02-08 11:50:09 +11:00
timingsafe_bcmp.c
vis.c Move DEF_WEAK into defines.h. 2016-10-15 05:51:12 +11:00
vis.h Update vis.h and vis.c from OpenBSD. 2016-06-03 16:03:44 +10:00
xcrypt.c in pick_salt() avoid dereference of NULL passwords 2018-10-10 14:57:00 +11:00