Doc improvements and minor cleanups (#281)
This commit is contained in:
committed by
GitHub
parent
47776ebf0b
commit
5f418bbd1d
@@ -472,6 +472,7 @@ impl Certificate {
|
||||
|
||||
/// Delete a certificate located at the given slot of the given YubiKey
|
||||
#[cfg(feature = "untested")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "untested")))]
|
||||
pub fn delete(yubikey: &mut YubiKey, slot: SlotId) -> Result<()> {
|
||||
let txn = yubikey.begin_transaction()?;
|
||||
write_certificate(&txn, slot, None, CertInfo::Uncompressed)
|
||||
|
||||
Reference in New Issue
Block a user