Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed Jun 2, 2023
1 parent c96a218 commit 04dfc1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ssl.mli
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,13 @@ type protocol =
| SSLv23 (** accept all possible protocols (SSLv2 if supported by openssl,
SSLv3, TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3) *)
| SSLv3 (** only SSL v3 protocol *)
| TLSv1
| TLSv1 (** only TLS v1 protocol *)
[@ocaml.alert deprecated
"TLSv1 is officialy deprecated, use a more recent one"]
"TLS 1.0 and 1.1 were formally deprecated in RFC8996 in March 2021."]

| TLSv1_1
| TLSv1_1 (** only TLS v1.1 protocol *)
[@ocaml.alert deprecated
"TLSv1.1 is officialy deprecated, use a more recent one"]
"TLS 1.0 and 1.1 were formally deprecated in RFC8996 in March 2021."]

| TLSv1_2 (** only TLS v1.2 protocol *)

Expand Down

0 comments on commit 04dfc1c

Please sign in to comment.