Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CYBER - Cyber Security
T
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
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
6 deletions
+2
-6
evaluation/demonstration/client
evaluation/demonstration/client
+0
-0
evaluation/demonstration/client.c
evaluation/demonstration/client.c
+1
-3
evaluation/demonstration/middlebox
evaluation/demonstration/middlebox
+0
-0
evaluation/demonstration/middlebox.c
evaluation/demonstration/middlebox.c
+1
-3
evaluation/demonstration/server
evaluation/demonstration/server
+0
-0
No files found.
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
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