Fix typo
This commit is contained in:
parent
4d567358a1
commit
ea8cbbe9dc
|
|
@ -26,7 +26,7 @@ impl PKey {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create a new `PKey` containing an HAMC key.
|
/// Create a new `PKey` containing an HMAC key.
|
||||||
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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue