[openssl-users] OPenssl and dependencies such as openssh

The Doctor doctor at doctor.nl2k.ab.ca
Wed Jan 6 14:33:27 UTC 2016


On Mon, Jan 04, 2016 at 07:22:04PM +0000, Viktor Dukhovni wrote:
> 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.
>

With all the other issues (DEPREACTED) identified, let
me test the above out.
 
> -- 
> 	Viktor.
> _______________________________________________
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

-- 
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


More information about the openssl-users mailing list