> >> A second reason is to prevent software from using the version number or
> >> string
> >> to test for features, which has been frequently misused and abused.
> >
> > Have strings really been misused this way? Yikes...
> >
>
> Many Lolz.. Lukas you just made my day......
>
> They've been misused that way, and more than once, by more than one
> project. This is why we really want it to be just a string, and
> strongly discourage people from using it in the way it has been
> abused.
>
> ... we could always change it so the string is wheezy, dopy, sneezy,
> drippy, or whatever for each release ;)
Lukaz, is this the world you want:
/* The following test is suggested by Richard Levitte */
if (((OPENSSL_VERSION_NUMBER ^ SSLeay()) & 0xffffff0f)
Yes, it is. Because you are asking for it. Not specifically in this
manner. But let's be quite clear here. There is no way software
should contain such checks, unless the motto is "ABI forever".