We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37c2728 commit 4de643bCopy full SHA for 4de643b
src/lib.rs
@@ -79,6 +79,8 @@ impl Yubico {
79
let mut response = [0; 36];
80
manager::read_response(&mut handle.0, &mut response)?;
81
82
+ drop(handle); // Close Device
83
+
84
// Check response.
85
if crc16(&response[..6]) != crate::sec::CRC_RESIDUAL_OK {
86
return Err(YubicoError::WrongCRC);
0 commit comments