summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-13 20:50:08 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-13 20:50:08 +0000
commitac6719f6c64588d9f4b001e1ab3a3e83bcffef8e (patch)
tree10ffc81a08001b40327dcf6ae48d708113fd8f44
parentab7bdcacb7151ad1ed24de3d272ac91be119db22 (diff)
Patch from jamie to detect malformed openssl versions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5235 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f2a1b1c64..64059152d 100755
--- 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 "") {