Skip to content

Commit 85da77a

Browse files
committed
Adapt to ssl package API change
1 parent 20f7f1c commit 85da77a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
opam-version: "2.0"
22
name: "ocsigenserver"
3-
version: "2.11.0"
3+
version: "2.11.1"
44
maintainer: "[email protected]"
55
synopsis: "A full-featured and extensible Web server."
66
description: "Ocsigen Server implements most features of the HTTP protocol, and has a very powerful extension mechanism that makes it very easy to plug your own OCaml modules for generating pages. Many extensions are already implemented, like a reverse proxy, content compression, access control, authentication, etc."
@@ -51,7 +51,7 @@ depends: [
5151
"base-unix"
5252
"base-threads"
5353
"react"
54-
"ssl"
54+
"ssl" {>= "0.5.8"}
5555
"lwt" {>= "3.0.0"}
5656
"lwt_ssl"
5757
"lwt_react"

src/server/ocsigen_server.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,8 +1025,8 @@ let errmsg = function
10251025
| (Unix.Unix_error _) as e ->
10261026
(("Fatal - "^(Printexc.to_string e)),
10271027
9)
1028-
| Ssl.Private_key_error ->
1029-
(("Fatal - bad password"),
1028+
| Ssl.Private_key_error msg ->
1029+
(("Fatal - bad password: " ^ msg),
10301030
10)
10311031
| Ocsigen_config.Config_file_error msg
10321032
| Ocsigen_extensions.Error_in_config_file msg ->

0 commit comments

Comments
 (0)