blob: 7470c6c652cb4ca9d50ef47155eacab2f2cded9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
--- a/collects/openssl/libcrypto.rkt
+++ b/collects/openssl/libcrypto.rkt
@@ -37,7 +37,12 @@
;; Other specific known versions
"1.0.1k" "1.0.1j" "1.0.1g" "1.0.1e"
"1.0" "1.0.0" "1.0.0e" "1.0.0d" "1.0.0c" "1.0.0b" "1.0.0a"
- "0.9.8e" "0.9.8b" "0.9.8" "0.9.7"))
+ "0.9.8e" "0.9.8b" "0.9.8" "0.9.7"
+
+ ;; LibreSSL
+ "42" ;; 2.6.3+
+ "41" ;; 2.5.5+
+))
(define libcrypto-load-fail-reason #f)
--- a/collects/openssl/libssl.rkt
+++ b/collects/openssl/libssl.rkt
@@ -9,6 +9,24 @@
(provide libssl
libssl-load-fail-reason)
+(define libssl-versions
+ '(;; Versionless (eg from devel pkg)
+ ""
+
+ ;; Compatibility-based version / SONAME
+ "10" ;; Fedora
+ "1.0.0" ;; Debian, Ubuntu
+
+ ;; Other specific known versions
+ "1.0.1k" "1.0.1j" "1.0.1g" "1.0.1e"
+ "1.0" "1.0.0" "1.0.0e" "1.0.0d" "1.0.0c" "1.0.0b" "1.0.0a"
+ "0.9.8e" "0.9.8b" "0.9.8" "0.9.7"
+
+ ;; LibreSSL
+ "44" ;; 2.6.3+
+ "43" ;; 2.5.3+
+))
+
(define libssl-load-fail-reason #f)
;; We need to declare because they might be distributed with PLT Scheme
@@ -28,4 +46,4 @@
(lambda (x)
(set! libssl-load-fail-reason (exn-message x))
#f)])
- (ffi-lib libssl-so openssl-lib-versions))))
+ (ffi-lib libssl-so libssl-versions))))
|