openssl-examples icon indicating copy to clipboard operation
openssl-examples copied to clipboard

configure & makefile are missing

Open midnqp opened this issue 3 years ago • 2 comments

Build steps include:

./configure
make

Both of these files are missing from the repository.

midnqp avatar May 05 '21 15:05 midnqp

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?

midnqp avatar May 05 '21 15:05 midnqp

Seems that the code is not able to run with new Openssl versions 😐

josnih21 avatar Oct 05 '22 12:10 josnih21