diff -ru racket-6.12.orig/collects/openssl/libcrypto.rkt racket-6.12/collects/openssl/libcrypto.rkt --- racket-6.12.orig/collects/openssl/libcrypto.rkt 2017-01-07 15:34:14.000000000 +0200 +++ racket-6.12/collects/openssl/libcrypto.rkt 2018-04-09 09:42:53.241968324 +0300 @@ -37,7 +37,13 @@ ;; 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 + "43" ;; 2.7.2+ + "42" ;; 2.6.3+ + "41" ;; 2.5.5+ +)) (define libcrypto-load-fail-reason #f) diff -ru racket-6.12.orig/collects/openssl/libssl.rkt racket-6.12/collects/openssl/libssl.rkt --- racket-6.12.orig/collects/openssl/libssl.rkt 2016-04-15 23:33:56.000000000 +0300 +++ racket-6.12/collects/openssl/libssl.rkt 2018-04-09 09:43:20.028984576 +0300 @@ -9,6 +9,25 @@ (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 + "45" ;; 2.7.2+ + "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 +47,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))))