Closed this issue 5 years ago · 1 comments
I couldn't successfully compile with various errors on OpenSSL using 1.0.2s installed from brew.
Hands-On-Network-Programming-with-C/chap09/openssl_version.c
Line 29 in e785d53
The working code
printf("OpenSSL version: %s\n", SSLeay_version(SSLEAY_VERSION));
The code is not designed to support your OpenSSL version, but if you read the book it would help you out a lot. This change is mentioned specifically in the book. Here's an except: