gameServer2/src/server/handlers/loggingin.rs
changeset 13805 0463a4221327
parent 13800 0118b7412570
child 14374 e5db279308d7
equal deleted inserted replaced
13804:201d86010a8b 13805:0463a4221327
    13     utils::is_name_illegal
    13     utils::is_name_illegal
    14 };
    14 };
    15 #[cfg(feature = "official-server")]
    15 #[cfg(feature = "official-server")]
    16 use openssl::sha::sha1;
    16 use openssl::sha::sha1;
    17 use std::fmt::{Formatter, LowerHex};
    17 use std::fmt::{Formatter, LowerHex};
       
    18 use log::*;
    18 
    19 
    19 #[derive(PartialEq)]
    20 #[derive(PartialEq)]
    20 struct Sha1Digest([u8; 20]);
    21 struct Sha1Digest([u8; 20]);
    21 
    22 
    22 impl LowerHex for Sha1Digest {
    23 impl LowerHex for Sha1Digest {