search for: ssh_compatible_openssl

Displaying 5 results from an estimated 5 matches for "ssh_compatible_openssl".

2018 Oct 14
4
Call for testing: OpenSSH 7.9
On Fri, 12 Oct 2018, Jakub Jelen wrote: > Something like this can be used to properly initialize new OpenSSL > versions: > > @@ -70,12 +70,19 @@ ssh_compatible_openssl(long headerver, long libver) > void > ssh_OpenSSL_add_all_algorithms(void) > { > +#if OPENSSL_VERSION_NUMBER < 0x10100000L > OpenSSL_add_all_algorithms(); > > /* Enable use of crypto hardware */ > ENGINE_load_builtin_engines(); > +#if OPENSSL_VERSION_NUMBER...
2018 Nov 19
2
[PATCH] openssl-compat: Test for OpenSSL_add_all_algorithms before using.
...[ \ + OpenSSL_add_all_algorithms \ OPENSSL_init_crypto \ DH_get0_key \ DH_get0_pqg \ diff --git a/openbsd-compat/openssl-compat.c b/openbsd-compat/openssl-compat.c index 5ade8f0b..71e049bd 100644 --- a/openbsd-compat/openssl-compat.c +++ b/openbsd-compat/openssl-compat.c @@ -70,7 +70,9 @@ ssh_compatible_openssl(long headerver, long libver) void ssh_OpenSSL_add_all_algorithms(void) { +#ifdef HAVE_OPENSSL_ADD_ALL_ALGORITHMS OpenSSL_add_all_algorithms(); +#endif /* Enable use of crypto hardware */ ENGINE_load_builtin_engines(); diff --git a/openbsd-compat/openssl-compat.h b/openbsd-compat/openssl-...
2023 May 07
1
[PATCH] compat: Relax version check with OpenSSL 3.0+
...gt; --- openbsd-compat/openssl-compat.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openbsd-compat/openssl-compat.c b/openbsd-compat/openssl-compat.c index c1749210d586f..5b35253f1d19b 100644 --- a/openbsd-compat/openssl-compat.c +++ b/openbsd-compat/openssl-compat.c @@ -54,6 +54,10 @@ ssh_compatible_openssl(long headerver, long libver) return (headerver & mask) == (libver & mask); } + /* For versions > 3.0.0, we rely on upstream's ABI */ + if (headerver > 0x3000000f) + return 1; + /* * For versions >= 1.0.0, major,minor must match and library * fix version must be...
2023 May 07
1
[PATCH] compat: Relax version check with OpenSSL 3.0+
...ssl-compat.c | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/openbsd-compat/openssl-compat.c b/openbsd-compat/openssl-compat.c >index c1749210d586f..5b35253f1d19b 100644 >--- a/openbsd-compat/openssl-compat.c >+++ b/openbsd-compat/openssl-compat.c >@@ -54,6 +54,10 @@ ssh_compatible_openssl(long headerver, long libver) > return (headerver & mask) == (libver & mask); > } > >+ /* For versions > 3.0.0, we rely on upstream's ABI */ >+ if (headerver > 0x3000000f) >+ return 1; >+ Is this not already covered using the --without-openssl-header-check...
2018 Oct 11
13
Call for testing: OpenSSH 7.9
Hi, OpenSSH 7.9p1 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This is a bugfix release. Snapshot releases for portable OpenSSH are available from http://www.mindrot.org/openssh_snap/ The OpenBSD version is available in CVS HEAD: http://www.openbsd.org/anoncvs.html Portable OpenSSH is also available via git using the instructions at