Skip to content

Commit 8b08005

Browse files
gowthamsk-armtgonzalezorlandoarm
authored andcommitted
e2e_tests: Modify client to use key name instead of file
Signed-off-by: Gowtham Suresh Kumar <[email protected]>
1 parent 4f8df9e commit 8b08005

File tree

1 file changed

+3
-3
lines changed
  • parsec-openssl-provider-shared/e2e_tests/src

1 file changed

+3
-3
lines changed

parsec-openssl-provider-shared/e2e_tests/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,22 +110,22 @@ impl Server {
110110
pub struct Client {
111111
ssl_method: SslMethod,
112112
certificate: Option<String>,
113-
private_key: Option<String>,
113+
private_key_name: Option<String>,
114114
ca_certificate: Option<String>,
115115
ssl_mode: SslVerifyMode,
116116
}
117117

118118
impl Client {
119119
pub fn new(
120120
cert: Option<String>,
121-
key: Option<String>,
121+
key_name: Option<String>,
122122
ca: Option<String>,
123123
mode: SslVerifyMode,
124124
) -> Client {
125125
Client {
126126
ssl_method: SslMethod::tls_client(),
127127
certificate: cert,
128-
private_key: key,
128+
private_key_name: key_name,
129129
ca_certificate: ca,
130130
ssl_mode: mode,
131131
}

0 commit comments

Comments
 (0)