You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the prime* curves are disabled on openSUSE/SLE based systems, which
causes this test to fail. The prime256v1 curve is still enabled and hence the
test succeeds using that
let key1 = EcKey::private_key_from_pem(private_key_pem.as_bytes()).unwrap();
1095
1095
let key1 = PKey::from_ec_key(key1).unwrap();
1096
1096
let input = "sample";
1097
-
let expected_output = hex::decode("303502190098C6BD12B23EAF5E2A2045132086BE3EB8EBD62ABF6698FF021857A22B07DEA9530F8DE9471B1DC6624472E8E2844BC25B64").unwrap();
1097
+
let expected_output = hex::decode("3044022061340C88C3AAEBEB4F6D667F672CA9759A6CCAA9FA8811313039EE4A35471D3202206D7F147DAC089441BB2E2FE8F7A3FA264B9C475098FDCF6E00D7C996E1B8B7EB").unwrap();
1098
1098
1099
1099
let hashed_input = hash(MessageDigest::sha1(), input.as_bytes()).unwrap();
0 commit comments