Remove unsafe impl Sync for RSAKeyPair {}
.
This commit is contained in:
parent
fbb3d6b5f3
commit
a31c1e6efb
@ -39,10 +39,6 @@ pub struct RSAKeyPair {
|
||||
n_bits: bits::BitLength,
|
||||
}
|
||||
|
||||
// `RSAKeyPair` is immutable. TODO: Make all the elements of `RSAKeyPair`
|
||||
// implement `Sync` so that it doesn't have to do this itself.
|
||||
unsafe impl Sync for RSAKeyPair {}
|
||||
|
||||
impl RSAKeyPair {
|
||||
/// Parses an unencrypted PKCS#8-encoded RSA private key.
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user