File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
parsec-openssl-provider-shared/e2e_tests/tests Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ fn test_handshake_client_authentication_rsa() {
120
120
121
121
let client = Client :: new (
122
122
Some ( String :: from ( "../../tests/tls/client/client_cert.pem" ) ) ,
123
- Some ( String :: from ( "../../tests/tls/client/client_priv_key.pem " ) ) ,
123
+ Some ( String :: from ( "PARSEC_TEST_RSA_KEY " ) ) ,
124
124
Some ( String :: from ( "../../tests/tls/ca/ca_cert.pem" ) ) ,
125
125
SslVerifyMode :: PEER ,
126
126
) ;
@@ -143,9 +143,7 @@ fn test_handshake_client_authentication_with_fake_ca() {
143
143
144
144
let client = Client :: new (
145
145
Some ( String :: from ( "../../tests/tls/fake_client/client_cert.pem" ) ) ,
146
- Some ( String :: from (
147
- "../../tests/tls/fake_client/client_priv_key.pem" ,
148
- ) ) ,
146
+ Some ( String :: from ( "PARSEC_TEST_RSA_KEY" ) ) ,
149
147
Some ( String :: from ( "../../tests/tls/fake_ca/ca_cert.pem" ) ) ,
150
148
SslVerifyMode :: PEER ,
151
149
) ;
@@ -167,9 +165,6 @@ fn test_client_with_mismatched_rsa_key_and_certificate() {
167
165
. unwrap ( ) ;
168
166
169
167
ctx_builder
170
- . set_private_key_file (
171
- String :: from ( "../../tests/tls/client/client_priv_key.pem" ) ,
172
- SslFiletype :: PEM ,
173
- )
168
+ . set_private_key_file ( String :: from ( "PARSEC_TEST_RSA_KEY" ) , SslFiletype :: PEM )
174
169
. unwrap_err ( ) ;
175
170
}
You can’t perform that action at this time.
0 commit comments