aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/pkey.rs
diff options
context:
space:
mode:
authorBastian Köcher <[email protected]>2018-03-10 00:26:20 +0100
committerBastian Köcher <[email protected]>2018-03-10 00:27:15 +0100
commit7fe3fabf245a1e65ad8441dc8c00f1b3ab28d70d (patch)
treef35cec386adc7c4fe0a433ebe0a890e976c275a3 /openssl/src/pkey.rs
parentAdds `RsaPssSaltlen` enum to encode the special values (diff)
downloadrust-openssl-7fe3fabf245a1e65ad8441dc8c00f1b3ab28d70d.tar.xz
rust-openssl-7fe3fabf245a1e65ad8441dc8c00f1b3ab28d70d.zip
Switches to new type wrapper for RsaPssSaltlen
Diffstat (limited to 'openssl/src/pkey.rs')
-rw-r--r--openssl/src/pkey.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/openssl/src/pkey.rs b/openssl/src/pkey.rs
index 76ecef7c..506c6db7 100644
--- a/openssl/src/pkey.rs
+++ b/openssl/src/pkey.rs
@@ -178,8 +178,7 @@ impl<T> PKeyRef<T> {
}
}
- /// Returns `Some(Oid)` as the type of this key or `None`, if the Oid is supported by this
- /// library.
+ /// Returns the Oid that represents the type of this key.
///
/// This corresponds to [`EVP_PKEY_id`].
///