upstream: github.com/mirleft/ocaml-x509
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.

+5 -5
+1 -1
lib/authenticator.ml
··· 1 - let ( let* ) = Result.bind 1 + open Result.Syntax 2 2 3 3 type t = 4 4 ?ip:Ipaddr.t ->
+1 -1
lib/pem.ml
··· 1 - let ( let* ) = Result.bind 1 + open Result.Syntax 2 2 3 3 module Cs = struct 4 4 open String
+1 -1
lib/private_key.ml
··· 1 - let ( let* ) = Result.bind 1 + open Result.Syntax 2 2 3 3 type ecdsa = 4 4 [ `P256 of Crypto_ec.P256.Dsa.priv
+1 -1
lib/signing_request.ml
··· 1 - let ( let* ) = Result.bind 1 + open Result.Syntax 2 2 3 3 module Ext = struct 4 4 type _ k =
+1 -1
tests/crltests.ml
··· 27 27 28 28 let one f () = 29 29 with_loaded_files f ~f:(fun cert crl -> 30 - let ( let* ) = Result.bind in 30 + let open Result.Syntax in 31 31 let* cert = Certificate.decode_pem cert in 32 32 let pubkey = Certificate.public_key cert in 33 33 let* crl = CRL.decode_der crl in