summaryrefslogtreecommitdiff
blob: 7b4c839dccb8fb8ef918af21fa3e5b97844a238d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
commit c26a4836e767807dd8c98d280c4d9e742b759edd
Author: Shiro Kawai <shiro@acm.org>
Date:   Sun Oct 9 02:04:19 2016 -1000

    rfc.tls - Detect LibreSSL as well

diff --git a/ext/tls/test.scm b/ext/tls/test.scm
index 63a1d04..efbfbca 100644
--- a/ext/tls/test.scm
+++ b/ext/tls/test.scm
@@ -37,7 +37,7 @@
      [(not gauche.os.windows)
       (guard (e [(<process-abnormal-exit> e)
                  (no-openssl "couldn't run openssl command")])
-        (if-let1 m ($ #/OpenSSL\s+([\d\.]+\w*)/
+        (if-let1 m ($ #/(?:OpenSSL|LibreSSL)\s+([\d\.]+\w*)/
                       $ process-output->string `(,openssl-cmd "version"))
           (let1 vers (m 1)
             (unless (version>=? vers "1.0.1")