[openssl-users@xxxxxxxxxxxx: Re: [openssl-users] OPenssl and dependencies such as openssh]

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Darren Tucker, Viktor of openssl found this issue.


----- Forwarded message from Viktor Dukhovni <openssl-users@xxxxxxxxxxxx> -----

Date: Mon, 4 Jan 2016 19:22:04 +0000
From: Viktor Dukhovni <openssl-users@xxxxxxxxxxxx>
To: openssl-users@xxxxxxxxxxx
Cc: openssl-dev@xxxxxxxxxxx
Subject: Re: [openssl-users] OPenssl and dependencies such as openssh
User-Agent: Mutt/1.5.24 (2015-08-30)

On Mon, Jan 04, 2016 at 09:08:31AM -0700, The Doctor wrote:

>                 if ((rc = fprintf(fd ,"%08x (%s)\n", SSLeay(),
>                     SSLeay_version(SSLEAY_VERSION))) <0)
> 
> Could there be anything that is causing openssh not to see the new openssl 1.1 

The above. The SSLeay names are gone.  The new way is:

	     if ((rc = fprintf(fd ,"%08x (%s)\n", OpenSSL_version_num(),
		 OpenSSL_version(OPENSSL_VERSION))) <0)

I think it is likely prudent at this time to restore source-
backwards-compatible behaviour, by adding to <openssl/crypto.h>:

    #if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < 0x10100000L
    # include <openssl/opensslv.h>
    # define SSLeay                  OpenSSL_version_num
    # define SSLeay_version          OpenSSL_version
    # define SSLEAY_VERSION_NUMBER   OPENSSL_VERSION_NUMBER
    # define SSLEAY_VERSION          OPENSSL_VERSION
    # define SSLEAY_CFLAGS           OPENSSL_CFLAGS
    # define SSLEAY_BUILT_ON         OPENSSL_BUILT_ON
    # define SSLEAY_PLATFORM         OPENSSL_PLATFORM
    # define SSLEAY_DIR              OPENSSL_DIR
    #endif /* OPENSSL_API_COMPAT */

Users who want to make sure they are avoiding interfaces that are
deprecated with 1.1.0 can set OPENSSL_API_COMPAT to 0x10100000L or
higher as appropriate.

-- 
	Viktor.
_______________________________________________
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

----- End forwarded message -----

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k  Look at Psalms 14 and 53 on Atheism
Birthdate 29 Jan 1969 Redhill, Surrey, UK
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux