Rename SecioConnUpgrade to SecioConfig

This commit is contained in:
Pierre Krieger
2017-12-04 15:50:14 +01:00
parent 33025ba22e
commit 067c0683b5
3 changed files with 5 additions and 5 deletions

View File

@ -46,7 +46,7 @@ fn main() {
.or_upgrade({
let private_key = include_bytes!("test-private-key.pk8");
let public_key = include_bytes!("test-public-key.der").to_vec();
secio::SecioConnUpgrade {
secio::SecioConfig {
key: secio::SecioKeyPair::rsa_from_pkcs8(private_key, public_key).unwrap(),
}
});