summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@palantir.com>2020-07-03 19:28:13 -0400
committerGitHub <noreply@github.com>2020-07-03 19:28:13 -0400
commit94e70e09ea6a7b7169d793459b2f02ba25bfb02a (patch)
tree35b60b95325a43c46ca5ab8539102d55052ba85f
parent70b21ed67154c77655f3fcfe87b57c7bc5db1777 (diff)
parent6f5ce4b49ac21cb27defd5b35e51b921b7e5ac73 (diff)
downloadrust-openssl-94e70e09ea6a7b7169d793459b2f02ba25bfb02a.zip
Merge pull request #1311 from Solumin/patch-1
Fix documentation for unwrap_key
-rw-r--r--openssl/src/aes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/src/aes.rs b/openssl/src/aes.rs
index c26a0269..2cda15b0 100644
--- a/openssl/src/aes.rs
+++ b/openssl/src/aes.rs
@@ -208,7 +208,7 @@ pub fn wrap_key(
/// # Panics
///
/// Panics if either `out` or `in_` do not have sizes that are a multiple of 8, or
-/// if `in` is not 8 bytes longer than `in_`
+/// if `in_` is not 8 bytes longer than `out`
pub fn unwrap_key(
key: &AesKey,
iv: Option<[u8; 8]>,