upstream: github.com/mirage/ca-certs
0
fork

Configure Feed

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

avoid deprecated fmt functions

+5 -3
+1
ca-certs.opam
··· 26 26 "x509" {>= "0.13.0"} 27 27 "ocaml" {>= "4.08.0"} 28 28 "alcotest" {with-test} 29 + "fmt" {with-test & >= "0.8.7"} 29 30 ] 30 31 dev-repo: "git+https://github.com/mirage/ca-certs.git" 31 32 build: [
+2 -1
dune-project
··· 14 14 astring bos fpath rresult ptime logs mirage-crypto 15 15 (x509 (>= 0.13.0)) 16 16 (ocaml (>= 4.08.0)) 17 - (alcotest :with-test)) 17 + (alcotest :with-test) 18 + (fmt (and :with-test (>= 0.8.7)))) 18 19 (synopsis "Detect root CA certificates from the operating system") 19 20 (description 20 21 "\> TLS requires a set of root anchors (Certificate Authorities) to
+1 -1
test/dune
··· 1 1 (test 2 2 (name tests) 3 - (libraries ca-certs alcotest)) 3 + (libraries ca-certs fmt alcotest))
+1 -1
test/tests.ml
··· 30 30 let pp ppf = function 31 31 | None -> Fmt.string ppf "none" 32 32 | Some (chain, _) -> 33 - Fmt.(list ~sep:(unit ", ") X509.Certificate.pp) ppf chain 33 + Fmt.(list ~sep:(any ", ") X509.Certificate.pp) ppf chain 34 34 35 35 let equal a b = 36 36 match (a, b) with