[openssh-commits] [openssh] branch V_9_3 updated (8fdca570 -> 9855f917)

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Jul 27 10:26:13 AEST 2023


This is an automated email from the git hooks/post-receive script.

dtucker pushed a change to branch V_9_3
in repository openssh.

      from  8fdca570  Also look for gdb error message from OpenIndiana.
       new  9855f917  Prefer OpenSSL's SHA256 in sk-dummy.so

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Detailed log of new commits:

commit 9855f9178b454bfb5215efa4e9dcb001dc5198a1
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Thu Jul 27 02:46:45 2023 +1000

    Prefer OpenSSL's SHA256 in sk-dummy.so
    
    Previously sk-dummy.so used libc's (or compat's) SHA256 since it may be
    built without OpenSSL.  In many cases, however, including both libc's
    and OpenSSL's headers together caused conflicting definitions.
    
    We tried working around this (on OpenSSL <1.1 you could define
    OPENSSL_NO_SHA, NetBSD had USE_LIBC_SHA2, various #define hacks) with
    varying levels of success.  Since OpenSSL >=1.1 removed OPENSSL_NO_SHA
    and including most OpenSSL headers would bring sha.h in, even if it
    wasn't used directly this was a constant hassle.
    
    Admit defeat and use OpenSSL's SHA256 unless we aren't using OpenSSL
    at all.  ok djm@

Summary of changes:
 regress/misc/sk-dummy/sk-dummy.c | 39 +++++++++------------------------------
 1 file changed, 9 insertions(+), 30 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list