View Issue Details

IDProjectCategoryView StatusLast Update
0000863unrealinstallingpublic2004-01-30 21:14
ReporterAngryWolf Assigned Tocodemastr 
Status resolvedResolutionfixed 
PlatformLinuxOSRedHatOS Version7.1
Product Version3.2-beta15 
Summary0000863: ./Config doesn't disable ssl when no ssl header files are present
DescriptionI've tested enabling ssl on a system where the required header files weren't installed.

checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no

It's ok, but it should disable the usage of ssl, so I won't get any errors while doing compilation...
TagsNo tags attached.
3rd party modules



2003-04-02 19:01

reporter   ~0002074

I think I wasn't very clear, so again: I have enabled SSL support in ./Config, but the configure script doesn't disable it.


2003-04-02 19:10

administrator   ~0002076

While some (?) software does what you describe...
I prefer it to give some good error message / stop @ ./configure.. because otherwise people THINK they have compiled with ssl support while it was semi-silently disabled... :).


2004-01-30 01:07

reporter   ~0004788

Hmm, it disables it for me:

checking for openssl... not found
configure: WARNING: disabling ssl support

You don't get that?


2004-01-30 08:03

reporter   ~0004796

Yes, I do too (have just tested it again with latest CVS), but after getting those messages, I can see there are some signs showing that SSL support isn't really disabled. So when I continue configuring, compiling, I get these messages:

Generating certificate request ..
/usr/bin/openssl req -new -config src/ssl.cnf -out server.req.pem -keyout server.key.pem -nodes
Generating a 1024 bit RSA private key

$ make
Building src
gcc -I../include -I/usr/home/angrywolf/IRC/cvs/Unreal/extras/regexp/include -pipe -g -O2 -funsigned-char -DZIP_LINKS -I/home/angrywolf/curl/include -DUSE_LIBCURL -export-dynamic -c auth.c
In file included from auth.c:21:
../include/struct.h:32:47: openssl/rsa.h: No such file or directory
../include/struct.h:33:28: openssl/crypto.h: No such file or directory
../include/struct.h:34:26: openssl/x509.h: No such file or directory
../include/struct.h:35:25: openssl/pem.h: No such file or directory
../include/struct.h:36:25: openssl/ssl.h: No such file or directory
../include/struct.h:37:29: openssl/err.h: No such file or directory
../include/struct.h:38:25: openssl/evp.h: No such file or directory
../include/struct.h:39:26: openssl/rand.h: No such file or directory

$ cat include/setup.h | grep -i ssl
/* Define if you want to allow SSL connections */
#define USE_SSL 1

By the way, my ./Config output is:

checking for openssl... /usr/bin/openssl
checking for openssl... not found
configure: WARNING: disabling ssl support

The first is about the binary, the second about the header files.


2004-01-30 21:14

reporter   ~0004800

Fixed in .2066

Issue History

Date Modified Username Field Change
2003-04-11 15:06 syzop Category ircd => installing
2004-01-30 01:07 codemastr Note Added: 0004788
2004-01-30 08:03 AngryWolf Note Added: 0004796
2004-01-30 21:14 codemastr Status new => resolved
2004-01-30 21:14 codemastr Resolution open => fixed
2004-01-30 21:14 codemastr Assigned To => codemastr
2004-01-30 21:14 codemastr Note Added: 0004800