Unverified Commit b127fb2b authored by Jack Rickard's avatar Jack Rickard Committed by GitHub
Browse files

Merge pull request #1867 from tyilo/patch-1

Fix typo in documentation for set_{min,max}_proto_version
parents 297017da 42469df8
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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.
@@ -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.
@@ -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.
@@ -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.
@@ -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.
@@ -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.