[cmake-developers] [PATCH] OpenSSL 1.0.2 update

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


Rolf Eike Beer wrote:
> 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.

http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c5d9a8283cfac15b4a5a07f18d5eb10c1f388505

Brad, this is based on origin/release. In case there will be a 3.1.2 I think 
this is a good candidate.

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/110ad2c9/attachment.sig>


More information about the cmake-developers mailing list