Browse Source

Fix references in tests

pull/5/head
Rodolphe Breard 6 years ago
parent
commit
416be4b219
  1. 12
      acmed/src/encoding.rs

12
acmed/src/encoding.rs

@ -139,7 +139,7 @@ zseNNFkN0oOc55UAd2ECe6gGOXB0r4MycFOM9ccR2t8ttwE=\r
&CERT_DER, &CERT_DER,
&Format::Der, &Format::Der,
&Format::Der, &Format::Der,
&PersistKind::Certificate,
PersistKind::Certificate,
); );
assert!(res.is_ok()); assert!(res.is_ok());
let res = res.unwrap(); let res = res.unwrap();
@ -152,7 +152,7 @@ zseNNFkN0oOc55UAd2ECe6gGOXB0r4MycFOM9ccR2t8ttwE=\r
&CERT_PEM, &CERT_PEM,
&Format::Pem, &Format::Pem,
&Format::Pem, &Format::Pem,
&PersistKind::Certificate,
PersistKind::Certificate,
); );
assert!(res.is_ok()); assert!(res.is_ok());
let res = res.unwrap(); let res = res.unwrap();
@ -165,7 +165,7 @@ zseNNFkN0oOc55UAd2ECe6gGOXB0r4MycFOM9ccR2t8ttwE=\r
&PK_DER, &PK_DER,
&Format::Der, &Format::Der,
&Format::Pem, &Format::Pem,
&PersistKind::PrivateKey,
PersistKind::PrivateKey,
); );
assert!(res.is_ok()); assert!(res.is_ok());
let res = res.unwrap(); let res = res.unwrap();
@ -178,7 +178,7 @@ zseNNFkN0oOc55UAd2ECe6gGOXB0r4MycFOM9ccR2t8ttwE=\r
&CERT_DER, &CERT_DER,
&Format::Der, &Format::Der,
&Format::Pem, &Format::Pem,
&PersistKind::Certificate,
PersistKind::Certificate,
); );
assert!(res.is_ok()); assert!(res.is_ok());
let res = res.unwrap(); let res = res.unwrap();
@ -191,7 +191,7 @@ zseNNFkN0oOc55UAd2ECe6gGOXB0r4MycFOM9ccR2t8ttwE=\r
&CERT_PEM, &CERT_PEM,
&Format::Pem, &Format::Pem,
&Format::Der, &Format::Der,
&PersistKind::Certificate,
PersistKind::Certificate,
); );
assert!(res.is_ok()); assert!(res.is_ok());
let res = res.unwrap(); let res = res.unwrap();
@ -204,7 +204,7 @@ zseNNFkN0oOc55UAd2ECe6gGOXB0r4MycFOM9ccR2t8ttwE=\r
&PK_PEM, &PK_PEM,
&Format::Pem, &Format::Pem,
&Format::Der, &Format::Der,
&PersistKind::PrivateKey,
PersistKind::PrivateKey,
); );
assert!(res.is_ok()); assert!(res.is_ok());
let res = res.unwrap(); let res = res.unwrap();

Loading…
Cancel
Save