[cmake-developers] Improving OpenSSL version support

Rolf Eike Beer eike at sf-mail.de
Thu Jan 12 17:47:12 EST 2012


Am Donnerstag 12 Januar 2012, 16:58:05 schrieben Sie:
> On 1/12/2012 3:42 PM, Rolf Eike Beer wrote:
> > I just pushed the topic "openssl-version" to stage and would like
> > someone to review it. There are 2 patches in it. The first one is an
> > obvious bugfix and makes the version number detection work at all with
> > OpenSSL 1.0.0! Currently the version number shown is "1..", which is
> > fixed by the first patch.
> > 
> > The second one adds an additional variable, OPENSSL_VERSION_STRING, like
> > other modules also have. This variable holds the complete version
> > number, e.g. "1.0.0f".
> 
> The opensslv.h in 1.0.0 documents the version number encoding, and
> it looks like it changed a bit through some versions.  Please add
> comments near the parsing code that explain how it handles this.

No problem. But I'm not going to add support for things older than 0.9.6, this 
stuff is ancient.

> Also, the examples given in the header are confusing because they
> leave out the patch level from the string.  I think the patch level
> can be included as a fourth component in our OPENSSL_VERSION var.

Hm?
 * 0.9.3a         0x0090301f
 * 0.9.4          0x0090400f
 * 1.2.3z         0x102031af

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120112/26e341d6/attachment.sig>


More information about the cmake-developers mailing list