Skip to content

Commit

Permalink
Merge pull request #1867 from tyilo/patch-1
Browse files Browse the repository at this point in the history
Fix typo in documentation for set_{min,max}_proto_version
  • Loading branch information
Skepfyr committed Mar 31, 2023
2 parents 297017d + 42469df commit b127fb2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions openssl/src/ssl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,7 @@ impl SslContextBuilder {

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

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

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

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

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

/// Sets the maximum supported protocol version.
///
/// A value of `None` will enable protocol versions down the the highest version supported by
/// A value of `None` will enable protocol versions up to the highest version supported by
/// OpenSSL.
///
/// Requires OpenSSL 1.1.0 or or LibreSSL 2.6.1 or newer.
Expand Down

0 comments on commit b127fb2

Please sign in to comment.