upstream: github.com/mirleft/ocaml-tls
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-tls: wire mdx libraries and fix README/tls_eio.md directives

The eio test harness's [tls_eio.md] toplevel session used [#require
"crypto.c"] / [#require "tls-eio"] / [#require "crypto-rng.unix"] —
package names that don't match the renamed packages
([nox-crypto] / [nox-tls-eio] / [nox-crypto-rng.unix]).

The [(mdx ...)] stanza in [eio/tests/dune] also had no [(libraries
...)] declaration, so the toplevel couldn't link against [Tls],
[X509_eio], [Crypto_rng_unix].

Add the missing [(libraries nox-tls nox-tls-eio nox-x509
nox-crypto-rng.unix eio eio.core eio.unix eio_main domain-name ipaddr
ptime.clock.os)], rename the [#require] strings, and drop a stale
[<!-- $MDX non-deterministic=command -->] in the README that mdx
rejected as an invalid include label.

+15 -4
-1
README.md
··· 41 41 42 42 You can also build this locally by conducting the steps: 43 43 44 - <!-- $MDX non-deterministic=command --> 45 44 <!-- $MDX skip --> 46 45 ```sh 47 46 $ opam install --deps-only -t . # or a named package instead of `.` - i.e. ./tls-lwt.opam
+12
eio/tests/dune
··· 6 6 7 7 (mdx 8 8 (package nox-tls-eio) 9 + (libraries 10 + nox-tls 11 + nox-tls-eio 12 + nox-x509 13 + nox-crypto-rng.unix 14 + eio 15 + eio.core 16 + eio.unix 17 + eio_main 18 + domain-name 19 + ipaddr 20 + ptime.clock.os) 9 21 (deps 10 22 server.pem 11 23 server.key
+3 -3
eio/tests/tls_eio.md
··· 1 1 ```ocaml 2 2 # #require "digestif.c";; 3 3 # #require "eio_main";; 4 - # #require "crypto.c";; 5 - # #require "tls-eio";; 6 - # #require "crypto-rng.unix";; 4 + # #require "nox-crypto";; 5 + # #require "nox-tls-eio";; 6 + # #require "nox-crypto-rng.unix";; 7 7 ``` 8 8 9 9 ```ocaml