pbs-api-types: remove openssl dependency for target wasm
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
1 parent
f7fde5c81b
commit
1a211f0d96
2 files changed
+4
-1
No files matched your search
@@ -326,6 +326,7 @@ pub struct RsaPubKeyInfo {
|
||||
pub length: usize,
|
||||
}
|
||||
|
||||
#[cfg(not(target_arch="wasm32"))]
|
||||
impl std::convert::TryFrom<openssl::rsa::Rsa<openssl::pkey::Public>> for RsaPubKeyInfo {
|
||||
type Error = anyhow::Error;
|
||||
|
||||
|
||||
Reference in new issue
Block a user