Skip to content

Commit ce8a4fa

Browse files
committed
Add missing Entry for SigningKey::to_spki_der
1 parent 977f10a commit ce8a4fa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

graviola/src/high/ecdsa.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ impl<C: Curve> SigningKey<C> {
136136
/// returned. [`Error::WrongLength`] is returned if `output` is not sufficient
137137
/// to contain the full encoding.
138138
pub fn to_spki_der<'a>(&self, output: &'a mut [u8]) -> Result<&'a [u8], Error> {
139+
let _entry = Entry::new_secret();
139140
let mut pub_key_buffer = [0u8; MAX_UNCOMPRESSED_PUBLIC_KEY_LEN];
140141
let pub_key_buffer = self
141142
.private_key

0 commit comments

Comments
 (0)