diff options
author | Alexander Kjäll <alexander.kjall@gmail.com> | 2023-12-24 21:22:54 +0100 |
---|---|---|
committer | Alexander Kjäll <alexander.kjall@gmail.com> | 2023-12-24 21:22:54 +0100 |
commit | 73e2172213f16d50056f10f3d645bdc705c9f1f5 (patch) | |
tree | 83ad30f236896c4f253d7bb83a92723c702ba1bb | |
parent | f260fbec82dd38525cdffccd1b197ee7b157e03e (diff) |
fix lines deleted by mistakecapitol/document-flakyness-in-mutate_eq_discriminates
-rw-r--r-- | openpgp/src/packet/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openpgp/src/packet/mod.rs b/openpgp/src/packet/mod.rs index 4837b26a..c5728284 100644 --- a/openpgp/src/packet/mod.rs +++ b/openpgp/src/packet/mod.rs @@ -2082,6 +2082,7 @@ uYttawHWpFxW/i9zAUmk0P8ZyRE+/8CCGr8wyscORUuCVrCjjWzSlEpDnh1aNJIY =49fD -----END PGP ARMORED FILE----- ").unwrap(); + let i: usize = 1863593116114256088; if p.tag() == Tag::CompressedData { // Mutating compressed data streams is not that @@ -2091,7 +2092,7 @@ uYttawHWpFxW/i9zAUmk0P8ZyRE+/8CCGr8wyscORUuCVrCjjWzSlEpDnh1aNJIY } let mut buf = p.to_vec().unwrap(); - eprintln!("bit = {}", bit); + let bit = 40; buf[bit / 8] ^= 1 << (bit % 8); assert_eq!(true, |