OpenSSL 0.9.8i and 0.9.8-stable-SNAPSHOT-20081108 fail to build if
KSSL_DEBUG is defined. I enabled this because it gives useful
information to help me debug an application issue (as suggested in
ssl/kssl.h).

Error message (in openssl-0.9.8-stable-SNAP-20081108):
t1_enc.c: In function ?tls1_enc?:
t1_enc.c:598: error: ?DES_KEY_SZ? undeclared (first use in this function)
t1_enc.c:598: error: (Each undeclared identifier is reported only once
t1_enc.c:598: error: for each function it appears in.)
t1_enc.c:598: error: ?DES_SCHEDULE_SZ? undeclared (first use in this function)

If that error is fixed, a second one appears:
d1_enc.c: In function ?dtls1_enc?:
d1_enc.c:208: error: ?DES_KEY_SZ? undeclared (first use in this function)
d1_enc.c:208: error: (Each undeclared identifier is reported only once
d1_enc.c:208: error: for each function it appears in.)
d1_enc.c:208: error: ?DES_SCHEDULE_SZ? undeclared (first use in this function)

Steps to repeat:
1. ./config -DTLS_DEBUG=1 -DKSSL_DEBUG=1
2. make

Result of "make report:
OpenSSL version: 0.9.8j-dev
Last change: Use correct exit code if there is an error in dgst comm...
Options: -DTLS_DEBUG=1 -DKSSL_DEBUG=1 no-camellia no-capieng
no-cms no-gmp no-krb5 no-mdc2 no-montasm no-rc5 no-rfc3779 no-seed
no-shared no-tlsext no-zlib no-zlib-dynamic
OS (uname): Linux kelvin 2.6.20-17-generic #2 SMP Mon Jun 9 22:08:13 UTC 2008 i686 GNU/Linux
OS (config): i686-whatever-linux2
Target (default): linux-elf
Target: linux-elf
Compiler: Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib -- libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--enable-nls --program-suffix=-4.1 --enable-__cxa_atexit
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org