version mismatch macro help

Michael Richardson mcr at
Tue Mar 5 00:01:11 UTC 2019

Last year I tried to provide a macro that would do version checks.
(In fact, I got it wrong in a stupid way)

Today I installed a pre 1.1.1c build in a VM for testing purposes.
What does /usr/sbin/sshd says:

# /usr/sbin/sshd
OpenSSL version mismatch. Built against 1010101f, you have 10101030

Clearly 10101030 >= 1010101f, and the major.minor version match, so there
really shouldn't be an issue.  But openssh seems to have got it wrong, as far
as I can tell.  I will submit a bug report soon.

Can we include a useful macro/test for applications to deal with this

]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     mcr at        |   ruby on rails    [

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <>

More information about the openssl-users mailing list