Skip to content

Commit

Permalink
Fix a compile error in tlsclienthello.c.
Browse files Browse the repository at this point in the history
  • Loading branch information
sesse committed Mar 29, 2018
1 parent 9384a7b commit 4e4cba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tlsclienthello.c
Expand Up @@ -106,7 +106,7 @@ int main(int argc, char *argv[]) {

struct TLSContext *context = tls_create_context(0, TLS_V12);
// the next line is needed only if you want to serialize the connection context or kTLS is used
tls_make_exportable(context);
tls_make_exportable(context, 1);
tls_client_connect(context);
send_pending(sockfd, context);
unsigned char client_message[0xFFFF];
Expand Down

0 comments on commit 4e4cba8

Please sign in to comment.