]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Patch from jamie to detect malformed openssl versions
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 13 Sep 2006 20:50:08 +0000 (20:50 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 13 Sep 2006 20:50:08 +0000 (20:50 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5235 e03df62e-2008-0410-955e-edbf42e46eb7

configure

index f2a1b1c646c3c80912df618b15de83d6a4c3e422..64059152d0bcb4ac776b9f61b590f0469e9673cf 100755 (executable)
--- a/configure
+++ b/configure
@@ -58,7 +58,7 @@ $config{MAX_AWAY}           = "200";                                          # max AWAY size
 
 $no_svn = 0;
 
-$config{HAS_OPENSSL} =~ /OpenSSL (\S+) \d+ \S+ \d{4}/;
+$config{HAS_OPENSSL} =~ /OpenSSL ([-[:digit:].]+)([a-z])? (\w{3}|[0-9]+) (\w{3}|[0-9]+) [0-9]{4}/;
 $config{HAS_OPENSSL} = $1;
 
 if ($config{GCCVER} eq "") {