1
0
Fork 0
mirror of https://gitlab.com/hagrid-keyserver/hagrid.git synced 2023-02-13 20:55:02 -05:00

Fix off by one error.

This commit is contained in:
Neal H. Walfield 2019-02-21 21:15:21 +01:00
parent 5590fe2198
commit 8625323709

View file

@ -210,7 +210,7 @@ pub fn test_uid_verification<D: Database>(db: &mut D) {
packets.push(Packet::UserID(uid3.clone()));
packets
.push(Packet::Signature(bind.selfsigs()[1].clone()));
.push(Packet::Signature(bind.selfsigs()[0].clone()));
let pile : PacketPile = packets.into();
let ext_tpk = TPK::from_packet_pile(pile).unwrap();