OpenSSL version number when compiling

Kenneth Goldman kgoldman at us.ibm.com
Tue Aug 1 21:22:52 UTC 2023


Do I misunderstand the openssl version number?

+ openssl version
OpenSSL 3.1.1 30 May 2023 (Library: OpenSSL 3.1.1 30 May 2023)

In my source, I have:

#if OPENSSL_VERSION_NUMBER > 0x30100ff0L
#   error Untested OpenSSL version

and it hits the error.

As I understand it, 3.1.1 becomes 30100010, which should be less than
30100ff0.


What am I doing wrong?

--
Work 1-914-945-2415


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20230801/b6a644ef/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5357 bytes
Desc: not available
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20230801/b6a644ef/attachment-0001.p7s>


More information about the openssl-users mailing list