Skip to content

Commit 9537300

Browse files
committed
Compilation fix
1 parent 6454b43 commit 9537300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/signer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ impl Signer for CngSigner {
163163
let signature = self
164164
.key
165165
.sign(&hash, padding)
166-
.map_err(|e| Error::Other(OtherError(Arc::new(e))))?;
166+
.map_err(|e| Error::Other(OtherError::new(Arc::new(e))))?;
167167

168168
if padding == SignaturePadding::None {
169169
// For ECDSA keys Windows produces IEEE-P1363 signatures which must be converted to DER format

0 commit comments

Comments
 (0)