Displaying 6 results from an estimated 6 matches for "openssl_init_crypto".
2018 Oct 14
4
Call for testing: OpenSSH 7.9
..._NUMBER < 0x10100000L
> OpenSSL_add_all_algorithms();
>
> /* Enable use of crypto hardware */
> ENGINE_load_builtin_engines();
> +#if OPENSSL_VERSION_NUMBER < 0x10001000L
> ENGINE_register_all_complete();
> +#endif
> OPENSSL_config(NULL);
> +#else
> + OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_DIGESTS |
> + OPENSSL_INIT_ADD_ALL_DIGESTS | OPENSSL_INIT_LOAD_CONFIG,
> NULL);
> +#endif
I don't think the #ifs match the #endifs properly here - it leaves
the OPENSSL_init_crypto() call inside a #if OPENSSL_VERSION_NUMBER <
0x10100000L...
IMO this is sim...
2018 Nov 19
2
[PATCH] openssl-compat: Test for OpenSSL_add_all_algorithms before using.
...d, 7 insertions(+)
diff --git a/configure.ac b/configure.ac
index 3f7fe2cd..db2aade8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2710,6 +2710,7 @@ if test "x$openssl" = "xyes" ; then
])
# LibreSSL/OpenSSL 1.1x API
AC_CHECK_FUNCS([ \
+ 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...
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
2020 Feb 09
2
[RFC PATCH] Add SHA1 support
...case CSUM_MD4_OLD:
diff --git a/configure.ac b/configure.ac
index 12db93570d78a..bdd010044bb61 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1056,6 +1056,11 @@ AS_IF([test "x$want_libzstd" = "xyes"],
AC_SUBST([LIBZSTD_CFLAGS])
AC_SUBST([LIBZSTD_LIBS])
+AC_CHECK_FUNCS(OPENSSL_init_crypto)
+if test x"$ac_cv_func_OPENSSL_init_crypto" = x"no"; then
+ AC_CHECK_LIB(crypto, OPENSSL_init_crypto, [AC_DEFINE([HAVE_OPENSSL], [1], [Use OpenSSL])])
+fi
+
#################################################
# check for extended attribute support
AC_MSG_CHECKING(whether to...
2018 Apr 07
6
OpenSSH private key format errors with LibreSSL 2.7
On 2018-04-07 11:24, Bernard Spil wrote:
> On 2018-04-07 9:04, Joel Sing wrote:
>> On Friday 06 April 2018 21:31:01 Bernard Spil wrote:
>>> Hi,
>>>
>>> When using OpenSSH with LibreSSL 2.7.x it cannot read existing RSA
>>> and
>>> ECDSA private keys.
>>>
>>> Error loading key "./id_rsa": invalid format
2019 Jan 10
2
auth core dump