openssl-examples
openssl-examples copied to clipboard
configure & makefile are missing
Build steps include:
./configure
make
Both of these files are missing from the repository.
This worked: $ cmake ./CMakeLists.txt
But then:
$ make
[ 33%] Built target common
[ 46%] Built target wclient
[ 53%] Building C object CMakeFiles/wserver2.dir/wserver2.c.o
/home/midn/openssl-examples/wserver2.c: In function ‘http_serve’:
/home/midn/openssl-examples/wserver2.c:65:10: error: invalid use of incomplete typedef ‘SSL’ {aka ‘struct ssl_st’}
65 | ssl->state=SSL_ST_ACCEPT;
| ^~
make[2]: *** [CMakeFiles/wserver2.dir/build.make:82: CMakeFiles/wserver2.dir/wserver2.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:132: CMakeFiles/wserver2.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
Bad luck, right?
Seems that the code is not able to run with new Openssl versions 😐