diff options
-rw-r--r-- | ext/crypto/export_key.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/crypto/export_key.rs b/ext/crypto/export_key.rs index 7f1c2d007..b59e04ff4 100644 --- a/ext/crypto/export_key.rs +++ b/ext/crypto/export_key.rs @@ -139,7 +139,7 @@ fn export_key_rsa( // It MUST have ASN.1 type NULL. parameters: Some(asn1::AnyRef::from(asn1::Null)), }, - subject_public_key: BitString::from_bytes(&subject_public_key).unwrap(), + subject_public_key: BitString::from_bytes(subject_public_key).unwrap(), }; // Infallible because we know the public key is valid. |