diff options
| author | Steven Fackler <[email protected]> | 2014-11-19 12:36:32 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-11-19 12:36:32 -0800 |
| commit | 9996f5874e4f62f66d9e837a91310f1a9a946a7f (patch) | |
| tree | f63ede4037f1937b0ac90fb9e0ab5d4b1a804de9 /src/x509 | |
| parent | Remove Zero and One impls (diff) | |
| download | rust-openssl-9996f5874e4f62f66d9e837a91310f1a9a946a7f.tar.xz rust-openssl-9996f5874e4f62f66d9e837a91310f1a9a946a7f.zip | |
Fix test build
Diffstat (limited to 'src/x509')
| -rw-r--r-- | src/x509/tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x509/tests.rs b/src/x509/tests.rs index 49e399d9..259fc851 100644 --- a/src/x509/tests.rs +++ b/src/x509/tests.rs @@ -14,8 +14,8 @@ fn test_cert_gen() { .set_valid_period(365*2) .set_CN("test_me") .set_sign_hash(SHA256) - .set_usage([DigitalSignature, KeyEncipherment]) - .set_ext_usage([ClientAuth, ServerAuth]); + .set_usage(&[DigitalSignature, KeyEncipherment]) + .set_ext_usage(&[ClientAuth, ServerAuth]); let res = gen.generate(); assert!(res.is_ok()); |