pbs-api-types: remove openssl dependency for target wasm

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer committed 2021-12-01 09:28:47 +01:00
1 parent f7fde5c81b
commit 1a211f0d96
2 files changed
+4 -1

No files matched your search

+1
View File
@@ -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;