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

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

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;