[cmake-developers] [PATCH] OpenSSL 1.0.2 update

Rolf Eike Beer eike at sf-mail.de
Tue Jan 27 16:20:42 EST 2015


Guillaume Belz wrote:
> Hi,
> 
> OpenSSL 1.0.2 was released last week and there is a little change in code,
> which impact FindOpenSSL.cmake script. The script use a regex to read the
> version of OpenSLL inside opensslv.h file. In the last commit, this file
> was modified with a formatting tool and the line 33 was changed from:
> 
>  # define OPENSSL_VERSION_NUMBER  0x10100000L
> 
> to:
> 
>  #define OPENSSL_VERSION_NUMBER 0x10100000L
> 
> To fix that, it's possible to change regex in FindOpenSSL.cmake file in
> line 288, from:
> 
>  REGEX "^#define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x([0-9a-fA-F])+.*")
> 
> to:
> 
>  REGEX "^# *define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x([0-9a-fA-F])+.*")
> 
> It's work on Scientific Linux 7 with OpenSSL 1.0.2 and CMake 3.1.1. I have
> not checked on other platforms.

Should there be a patch? Otherwise I'll create one from your mail.

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/20150127/493fc49a/attachment.sig>


More information about the cmake-developers mailing list