Enable the server certificate in test5-2d

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
This commit is contained in:
Juergen Kosel 2017-04-07 15:09:32 +02:00
parent 5809b05bb4
commit b2a26f2840
1 changed files with 2 additions and 2 deletions

View File

@ -1048,8 +1048,8 @@ int test2d(struct Options options)
opts.context = c;
opts.ssl = &sslopts;
//if (options.server_key_file != NULL) opts.ssl->trustStore = options.server_key_file; /*file of certificates trusted by client*/
//opts.ssl->keyStore = options.client_key_file; /*file of certificate for client to present to server*/
if (options.server_key_file != NULL) opts.ssl->trustStore = options.server_key_file; /*file of certificates trusted by client*/
opts.ssl->keyStore = options.client_key_file; /*file of certificate for client to present to server*/
//if (options.client_key_pass != NULL)
// opts.ssl->privateKeyPassword = options.client_key_pass;
//opts.ssl->enabledCipherSuites = "DEFAULT";