Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
MSP-OpenSSL
Commits
978fc1ea
Commit
978fc1ea
authored
Jun 07, 2018
by
canterburym
Browse files
Rebuilding without DEBUG flag
parent
7d5c7dac
Changes
5
Show whitespace changes
Inline
Side-by-side
evaluation/demonstration/client
View file @
978fc1ea
No preview for this file type
evaluation/demonstration/client.c
View file @
978fc1ea
#define DEBUG
#include
<pthread.h>
#include
<assert.h>
#include
<getopt.h>
...
...
@@ -354,7 +352,7 @@ int main(const int iArgC, char *papsArgV[])
exit
(
-
1
);
}
int
iBytesSent
=
SSL_write
(
tConfig
.
pSSL
,
text
->
valuestring
,
strlen
(
text
->
valuestring
));
printf
(
"[CLIENT
DEBUG
] Sent %d bytes { %s }
\n
"
,
iBytesSent
,
text
->
valuestring
);
printf
(
"[CLIENT] Sent %d bytes { %s }
\n
"
,
iBytesSent
,
text
->
valuestring
);
}
cJSON_Delete
(
json
);
...
...
evaluation/demonstration/middlebox
View file @
978fc1ea
No preview for this file type
evaluation/demonstration/middlebox.c
View file @
978fc1ea
#define DEBUG
#include
"common.h"
#include
<time.h>
#include
<stdbool.h>
...
...
@@ -474,7 +472,7 @@ int main(int argc, char **argv)
if
(
argc
<
4
)
{
printf
(
"Usage: m
cm
box port proxy-address midlebox-id [command handler...]
\n
"
);
printf
(
"Usage: m
iddle
box port proxy-address midlebox-id [command handler...]
\n
"
);
exit
(
0
);
}
port
=
atoi
(
argv
[
1
]);
...
...
evaluation/demonstration/server
View file @
978fc1ea
No preview for this file type
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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