Do not export more than strictly necessary

This commit is contained in:
Dmitry Bogatov
2019-08-16 01:58:57 +00:00
parent f31884fc15
commit ea661896a1
19 changed files with 164 additions and 164 deletions

View File

@@ -306,7 +306,7 @@ pub fn dc_key_save_self_keypair(
}
/// Make a fingerprint human-readable, in hex format.
pub fn dc_format_fingerprint(fingerprint: &str) -> String {
fn dc_format_fingerprint(fingerprint: &str) -> String {
// split key into chunks of 4 with space, and 20 newline
let mut res = String::new();