Update rsa to v0.3 & other dependencies (#142)

* Update rsa to v0.3 & other dependencies
This commit is contained in:
Shella Stephens
2020-06-15 16:40:33 -07:00
committed by GitHub
parent 15f9e265e6
commit 860c163eb9
5 changed files with 239 additions and 294 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ use log::error;
use num_bigint::BigUint;
use p256::NistP256;
use p384::NistP384;
use rsa::{PublicKey, RSAPublicKey};
use rsa::{PublicKeyParts, RSAPublicKey};
use sha2::{Digest, Sha256};
use std::convert::TryFrom;
use std::fmt;
@@ -648,7 +648,7 @@ mod read_pki {
mod write_pki {
use cookie_factory::{SerializeFn, WriteContext};
use rsa::{BigUint, PublicKey, RSAPublicKey};
use rsa::{BigUint, PublicKeyParts, RSAPublicKey};
use std::io::Write;
use x509::der::write::{der_integer, der_sequence};