diff options
-rw-r--r-- | hbak_common/src/conn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hbak_common/src/conn.rs b/hbak_common/src/conn.rs index 02295dd..a83b539 100644 --- a/hbak_common/src/conn.rs +++ b/hbak_common/src/conn.rs @@ -70,7 +70,7 @@ impl AuthConn { // Consuming the `AuthConn` guarantees that this function can never be called again. let challenge = system::random_bytes(32); - let nonce = system::random_bytes(32); + let nonce = system::random_bytes(19); let key; self.send_message(&CryptoMessage::Hello(Hello { |