mirror of https://github.com/eclipse/paho.mqtt.c
Enable the server certificate in test5-2d
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
This commit is contained in:
parent
5809b05bb4
commit
b2a26f2840
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue