Update the wasi-crypto spec
This commit is contained in:
committed by
Andrew Brown
parent
250f11c572
commit
9ab5fa26cf
@@ -111,7 +111,7 @@ impl super::wasi_ephemeral_crypto_common::WasiEphemeralCryptoCommon for WasiCryp
|
||||
Ok(self.secrets_manager_invalidate(
|
||||
secrets_manager_handle.into(),
|
||||
key_id,
|
||||
key_version.into(),
|
||||
Version(key_version),
|
||||
)?)
|
||||
}
|
||||
}
|
||||
@@ -125,15 +125,3 @@ impl From<guest_types::AlgorithmType> for AlgorithmType {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl From<guest_types::Version> for Version {
|
||||
fn from(version: guest_types::Version) -> Self {
|
||||
Version(version.into())
|
||||
}
|
||||
}
|
||||
|
||||
impl From<Version> for guest_types::Version {
|
||||
fn from(version: Version) -> Self {
|
||||
version.into()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user