Correctly serialize zero as an SSH mpint

This should never happen for our current uses of mpint, but let's fix it
while we're here.
This commit is contained in:
Jack Grigg 2019-11-18 01:38:36 +00:00
parent a7651bf001
commit ec6c52f385
No known key found for this signature in database
GPG key ID: 9E8255172BBF9898
3 changed files with 10 additions and 2 deletions

View file

@ -26,6 +26,7 @@ hkdf = "0.8"
hmac = "0.7"
nom = "5"
num-bigint-dig = "0.4"
num-traits = "0.2"
rand = "0.6"
rsa = { git = "https://github.com/lucdew/RSA", branch = "oaep" }
scrypt = { version = "0.2", default-features = false }