Skip to content

Commit b127fb2

Browse files
authored
Merge pull request #1867 from tyilo/patch-1
Fix typo in documentation for set_{min,max}_proto_version
2 parents 297017d + 42469df commit b127fb2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

openssl/src/ssl/mod.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ impl SslContextBuilder {
11201120

11211121
/// Sets the minimum supported protocol version.
11221122
///
1123-
/// A value of `None` will enable protocol versions down the the lowest version supported by
1123+
/// A value of `None` will enable protocol versions down to the lowest version supported by
11241124
/// OpenSSL.
11251125
///
11261126
/// Requires OpenSSL 1.1.0 or LibreSSL 2.6.1 or newer.
@@ -1138,7 +1138,7 @@ impl SslContextBuilder {
11381138

11391139
/// Sets the maximum supported protocol version.
11401140
///
1141-
/// A value of `None` will enable protocol versions down the the highest version supported by
1141+
/// A value of `None` will enable protocol versions up to the highest version supported by
11421142
/// OpenSSL.
11431143
///
11441144
/// Requires OpenSSL 1.1.0 or or LibreSSL 2.6.1 or newer.
@@ -1156,7 +1156,7 @@ impl SslContextBuilder {
11561156

11571157
/// Gets the minimum supported protocol version.
11581158
///
1159-
/// A value of `None` indicates that all versions down the the lowest version supported by
1159+
/// A value of `None` indicates that all versions down to the lowest version supported by
11601160
/// OpenSSL are enabled.
11611161
///
11621162
/// Requires OpenSSL 1.1.0g or LibreSSL 2.7.0 or newer.
@@ -1175,7 +1175,7 @@ impl SslContextBuilder {
11751175

11761176
/// Gets the maximum supported protocol version.
11771177
///
1178-
/// A value of `None` indicates that all versions down the the highest version supported by
1178+
/// A value of `None` indicates that all versions up to the highest version supported by
11791179
/// OpenSSL are enabled.
11801180
///
11811181
/// Requires OpenSSL 1.1.0g or LibreSSL 2.7.0 or newer.
@@ -3223,7 +3223,7 @@ impl SslRef {
32233223

32243224
/// Sets the minimum supported protocol version.
32253225
///
3226-
/// A value of `None` will enable protocol versions down the the lowest version supported by
3226+
/// A value of `None` will enable protocol versions down to the lowest version supported by
32273227
/// OpenSSL.
32283228
///
32293229
/// Requires OpenSSL 1.1.0 or LibreSSL 2.6.1 or newer.
@@ -3241,7 +3241,7 @@ impl SslRef {
32413241

32423242
/// Sets the maximum supported protocol version.
32433243
///
3244-
/// A value of `None` will enable protocol versions down the the highest version supported by
3244+
/// A value of `None` will enable protocol versions up to the highest version supported by
32453245
/// OpenSSL.
32463246
///
32473247
/// Requires OpenSSL 1.1.0 or or LibreSSL 2.6.1 or newer.

0 commit comments

Comments
 (0)