Skip to content

Commit

Permalink
Consistency and .zip file fixes for chapter 11 ssl tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Tjaden committed May 24, 2024
1 parent 1604c3e commit 9d878dd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions wolfSSL/src/chapter11.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,7 @@ EchoClient:
}
```

<<<<<<< HEAD
The code above will go into `tcpcli01.c` after the variable definitions and the check for that the user has started the client with an IP address in `main()`.
=======
Add the above code to `tcpcli01.c` in `mian()` after the variable definitions and the check that the user has started the client with an IP address.
>>>>>>> 9bffc79 (Consistency and .zip file fixes for chapter 11 ssl tutorial)

EchoServer:

Expand Down Expand Up @@ -302,11 +298,7 @@ When loading certificates into the `WOLFSSL_CTX`, the server certificate and key
}
```
<<<<<<< HEAD
The above code will go into `tcpserv04.c` after the variable definitions in `main()`. A version of the finished code is included in the SSL tutorial ZIP file for reference.
=======
The code shown above should be added to the beginning of `tcpserv04.c` after the variable definitions in `main()`. A version of the finished code is included in the SSL tutorial ZIP file for reference.
>>>>>>> 9bffc79 (Consistency and .zip file fixes for chapter 11 ssl tutorial)
Now that wolfSSL and the `WOLFSSL_CTX` have been initialized, make sure that the `WOLFSSL_CTX` object and the wolfSSL library are freed when the application is completely done using SSL/TLS. In both the client and the server, the following two lines should be placed at the end of the `main()` function (in the client right before the call to `exit()`):
Expand Down

0 comments on commit 9d878dd

Please sign in to comment.