Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
paho.mqtt.c
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eclipse
paho.mqtt.c
Commits
b2a26f28
Commit
b2a26f28
authored
Apr 07, 2017
by
Juergen Kosel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable the server certificate in test5-2d
Signed-off-by:
Juergen Kosel
<
juergen.kosel@softing.com
>
parent
5809b05b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test5.c
test/test5.c
+2
-2
No files found.
test/test5.c
View file @
b2a26f28
...
...
@@ -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";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment