updates and fixes

This commit is contained in:
dignifiedquire
2019-10-09 23:00:15 +02:00
committed by holger krekel
parent dc2cf8ecfc
commit 46e8a436cb
3 changed files with 95 additions and 146 deletions

View File

@@ -235,7 +235,7 @@ mod tests {
#[test]
fn test_split_armored_data_2() {
let (typ, headers, base64) = split_armored_data(
b"-----BEGIN PGP PRIVATE KEY BLOCK-----\nAutocrypt-Prefer-Encrypt: mutual \n\nbase64\n-----END PGP PRIVATE KEY BLOCK-----"
b"-----BEGIN PGP PRIVATE KEY BLOCK-----\nAutocrypt-Prefer-Encrypt: mutual \n\naGVsbG8gd29ybGQ=\n-----END PGP PRIVATE KEY BLOCK-----"
)
.unwrap();