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

Configure Feed

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

Use Result.Syntax instead of local let* bindings

Replace `let ( let* ) = Result.bind` with `open Result.Syntax` across
multiple packages: x509, tls, requests, ca-certs, cpio, jsonwt, matter,
tar, spake2, crypto, gpt, mbr.

The stdlib Result.Syntax module provides the same let* operator.

+2 -2
+1 -1
lib/ca_certs.ml
··· 60 60 | () -> Ok !der_list 61 61 | exception Failure msg -> Error (`Msg msg) 62 62 63 - let ( let* ) = Result.bind 63 + open Result.Syntax 64 64 65 65 (** Load certificates from Windows' ["ROOT"] system certificate store. The C API 66 66 returns a list of DER-encoded certificates. These are decoded and reencoded
+1 -1
test/tests.ml
··· 987 987 err_tests 988 988 989 989 let ta () = 990 - let ( let* ) = Result.bind in 990 + let open Result.Syntax in 991 991 let* data = Ca_certs.trust_anchors () in 992 992 let cas = 993 993 X509.Certificate.fold_decode_pem_multiple