openssh/openbsd-compat
Damien Miller 42c5ec4b97 refactor libcrypto initialisation
Don't call OpenSSL_add_all_algorithms() unless OpenSSL actually
supports it.

Move all libcrypto initialisation to a single function, and call that
from seed_rng() that is called early in each tool's main().

Prompted by patch from Rosen Penev
2018-11-23 10:42:05 +11:00
..
regress Remove remaining now-obsolete cvs $Ids. 2018-02-15 20:06:19 +11:00
Makefile.in adapt -portable to OpenSSL 1.1x API 2018-09-13 12:13:50 +10:00
arc4random.c prefer to use getrandom() for PRNG seeding 2018-04-13 13:32:23 +10:00
base64.c
base64.h
basename.c
bcrypt_pbkdf.c Many typo fixes from Karsten Weiss 2018-04-10 10:19:02 +10:00
bindresvport.c
blf.h
blowfish.c
bsd-asprintf.c Don't avoid our *sprintf replacements. 2018-10-12 16:58:47 +11:00
bsd-closefrom.c correct snprintf truncation check in closefrom() 2018-07-27 14:20:09 +10:00
bsd-cygwin_util.c cygwin: add missing stdarg.h include 2018-08-13 13:01:18 -07:00
bsd-cygwin_util.h Many typo fixes from Karsten Weiss 2018-04-10 10:19:02 +10:00
bsd-err.c
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 Remove unused variable in _ssh_compat_fflush. 2018-09-22 14:41:24 +10:00
bsd-misc.h Check for and work around buggy fflush(NULL). 2018-03-05 19:28:08 +11:00
bsd-nextstep.c
bsd-nextstep.h Many typo fixes from Karsten Weiss 2018-04-10 10:19:02 +10:00
bsd-openpty.c Remove UNICOS code missed during removal. 2018-03-26 13:24:28 +11:00
bsd-poll.c
bsd-poll.h
bsd-setres_id.c
bsd-setres_id.h
bsd-signal.c Move signal compat code into bsd-signal.{c,h} 2018-02-11 21:24:48 +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 bsd-statvfs: include sys/vfs.h, check for f_flags. 2018-02-26 00:09:04 +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
bsd-waitpid.h Many typo fixes from Karsten Weiss 2018-04-10 10:19:02 +10:00
chacha_private.h
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
fake-rfc2553.h
fmt_scaled.c sync fmt_scaled.c 2018-05-14 14:40:08 +10:00
freezero.c Include stdlib.h for declaration of free. 2018-07-11 12:14:09 +10:00
getcwd.c
getgrouplist.c
getopt.h
getopt_long.c
getrrsetbyname-ldns.c
getrrsetbyname.c
getrrsetbyname.h
glob.c
glob.h
inet_aton.c
inet_ntoa.c
inet_ntop.c
kludge-fd_set.c
libressl-api-compat.c fix compilation with openssl built without ECC 2018-11-09 14:19:24 +11:00
md5.c
md5.h
mktemp.c
openbsd-compat.h Add implementation of getline. 2018-07-02 21:36:31 +10:00
openssl-compat.c refactor libcrypto initialisation 2018-11-23 10:42:05 +11:00
openssl-compat.h refactor libcrypto initialisation 2018-11-23 10:42:05 +11:00
port-aix.c Some AIX fixes; report from Michael Felt 2018-08-11 18:08:45 -07:00
port-aix.h Adapt portable to legacy buffer API removal 2018-07-10 19:39:52 +10:00
port-irix.c
port-irix.h
port-linux.c Include stdlib.h. 2018-09-07 14:01:39 +10:00
port-linux.h
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
port-solaris.h
port-uw.c check for NULL return from shadow_pw() 2018-10-11 11:03:54 +11:00
port-uw.h
pwcache.c
readpassphrase.c Move signal compat code into bsd-signal.{c,h} 2018-02-11 21:24:48 +11:00
readpassphrase.h
reallocarray.c
realpath.c
recallocarray.c
rmd160.c
rmd160.h
rresvport.c
setenv.c
setproctitle.c Initial len for the fmt=NULL case. 2018-09-07 14:06:57 +10:00
sha1.c
sha1.h
sha2.c Many typo fixes from Karsten Weiss 2018-04-10 10:19:02 +10:00
sha2.h
sigact.c
sigact.h
strcasestr.c
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
sys-queue.h Undef a few new macros in sys-queue.h. 2018-07-14 16:49:01 +10:00
sys-tree.h
timingsafe_bcmp.c
vis.c
vis.h
xcrypt.c in pick_salt() avoid dereference of NULL passwords 2018-10-10 14:57:00 +11:00