File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,9 @@ impl Drop for Summary {
149149// #[case("rsa_signature_8192_sha512_test.json")] TODO: needs disabling of maxsize
150150fn test_rsa_pkcs1_verify ( #[ case] file : & str ) {
151151 let path = format ! ( "thirdparty/wycheproof/testvectors_v1/{file}" ) ;
152- let data_file = File :: open ( & path) . expect ( "failed to open data file" ) ;
152+ let data_file = File :: open ( & path)
153+ . expect ( "failed to open data file (try running `git submodule update --init`)" ) ;
154+
153155 println ! ( "Loading file: {path}" ) ;
154156
155157 let tests: TestFile = serde_json:: from_reader ( data_file) . expect ( "invalid test JSON" ) ;
@@ -203,7 +205,9 @@ fn test_rsa_pkcs1_verify(#[case] file: &str) {
203205#[ case( "rsa_pss_misc_test.json" ) ]
204206fn test_rsa_pss_verify ( #[ case] file : & str ) {
205207 let path = format ! ( "thirdparty/wycheproof/testvectors_v1/{file}" ) ;
206- let data_file = File :: open ( & path) . expect ( "failed to open data file" ) ;
208+ let data_file = File :: open ( & path)
209+ . expect ( "failed to open data file (try running `git submodule update --init`)" ) ;
210+
207211 println ! ( "Loading file: {path}" ) ;
208212
209213 let tests: TestFile = serde_json:: from_reader ( data_file) . expect ( "invalid test JSON" ) ;
You can’t perform that action at this time.
0 commit comments