summaryrefslogtreecommitdiffstats
path: root/openpgp
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp')
-rw-r--r--openpgp/src/armor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/armor.rs b/openpgp/src/armor.rs
index cdb6b361..d009dacc 100644
--- a/openpgp/src/armor.rs
+++ b/openpgp/src/armor.rs
@@ -840,7 +840,7 @@ impl<'a> Reader<'a> {
// If there are no dashes at all, match on the BEGIN.
valid_start.push(b'B');
- valid_start.sort();
+ valid_start.sort_unstable();
valid_start.dedup();
valid_start
};
@@ -858,7 +858,7 @@ impl<'a> Reader<'a> {
// If there are no dashes at all, match on the BEGIN.
valid_start.push(b'B');
- valid_start.sort();
+ valid_start.sort_unstable();
valid_start.dedup();
valid_start
};