Tweak layout a little bit

This commit is contained in:
Steven Fackler 2017-01-03 12:35:52 -08:00 committed by GitHub
parent 1767cd5464
commit e2f1569500
1 changed files with 3 additions and 1 deletions

View File

@ -117,7 +117,9 @@ impl PKey {
} }
/// Creates a new `PKey` containing an HMAC key. /// Creates a new `PKey` containing an HMAC key.
/// Note: To compute HMAC values, use the `sign` module. ///
/// # Note
/// To compute HMAC values, use the `sign` module.
pub fn hmac(key: &[u8]) -> Result<PKey, ErrorStack> { pub fn hmac(key: &[u8]) -> Result<PKey, ErrorStack> {
unsafe { unsafe {
assert!(key.len() <= c_int::max_value() as usize); assert!(key.len() <= c_int::max_value() as usize);