Re: OPENSSL_VERSION_NUMBER gone in openssl v3.2.2, deprecated when, replaced with what?

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

 



On Sun, Sep 01, 2024 at 10:15:03AM +0200, 'Graham Leggett' via openssl-users wrote:

> APR no longer builds on Fedora because the define OPENSSL_VERSION_NUMBER is now gone.

It is NOT gone from upstream OpenSSL:

    $ git grep -hwC10 OPENSSL_VERSION_NUMBER o/openssl-3.2 -- include/openssl/opensslv.h.in
     * These strings are defined separately to allow them to be parsable.
     */
    # define OPENSSL_RELEASE_DATE "{- $config{release_date} -}"
    
    /*
     * SECTION 4: BACKWARD COMPATIBILITY
     */
    
    # define OPENSSL_VERSION_TEXT "OpenSSL {- "$config{full_version} $config{release_date}" -}"
     
    /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
    # ifdef OPENSSL_VERSION_PRE_RELEASE
    #  define _OPENSSL_VERSION_PRE_RELEASE 0x0L
    # else
    #  define _OPENSSL_VERSION_PRE_RELEASE 0xfL
    # endif
    # define OPENSSL_VERSION_NUMBER          \
        ( (OPENSSL_VERSION_MAJOR<<28)        \
          |(OPENSSL_VERSION_MINOR<<20)       \
          |(OPENSSL_VERSION_PATCH<<4)        \
          |_OPENSSL_VERSION_PRE_RELEASE )
    
    # ifdef  __cplusplus
    }
    # endif

> What I'm not finding is a clear deprecation notice, or a notice about
> what replaced it. Github has oblique references to removal of the
> define, and there are discussions about changing how version numbers
> work, both GitHub search and google search are failing me.

There was no removal, I'd personally be one of the more vocal objectors
to just a removal.

> 
> My questions are:
> 
> - What replaced OPENSSL_VERSION_NUMBER?

It is still present.

> - In what version was OPENSSL_VERSION_NUMBER replaced?

It wasn't.

-- 
    Viktor.

-- 
You received this message because you are subscribed to the Google Groups "openssl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe@xxxxxxxxxxx.
To view this discussion on the web visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/ZtQk7aMt57ekxkRM%40chardros.imrryr.org.



[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