aboutsummaryrefslogtreecommitdiff
path: root/src/x509/tests.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2014-11-20 10:10:17 -0800
committerSteven Fackler <[email protected]>2014-11-20 10:10:17 -0800
commit33af6a0b7a1037945181db96cf4f6915457a3df6 (patch)
tree558b0ad6f95b8a4efec32ce814358ce39326145a /src/x509/tests.rs
parentMerge pull request #54 from jmesmon/server (diff)
parentSlice syntax fix (diff)
downloadrust-openssl-33af6a0b7a1037945181db96cf4f6915457a3df6.tar.xz
rust-openssl-33af6a0b7a1037945181db96cf4f6915457a3df6.zip
Merge pull request #100 from gkoz/new_cert
Replace an expired cert with a new one to make tests happy
Diffstat (limited to 'src/x509/tests.rs')
-rw-r--r--src/x509/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x509/tests.rs b/src/x509/tests.rs
index 259fc851..4e7fc925 100644
--- a/src/x509/tests.rs
+++ b/src/x509/tests.rs
@@ -44,7 +44,7 @@ fn test_cert_loading() {
// in DER format.
// Command: openssl x509 -in test/cert.pem -outform DER | openssl dgst -sha256
// Please update if "test/cert.pem" will ever change
- let hash_str = "6204f6617e1af7495394250655f43600cd483e2dfc2005e92d0fe439d0723c34";
+ let hash_str = "46e3f1a6d17a41ce70d0c66ef51cee2ab4ba67cac8940e23f10c1f944b49fb5c";
let hash_vec = hash_str.from_hex().unwrap();
assert_eq!(fingerprint.as_slice(), hash_vec.as_slice());