Hi,
unfortuately openssl 0.9.7 apps seem to be broken wrt. EVP_get_digestbyname.
E.g.:
===================================================
> openssl dgst -md5
unknown option '-md5'
options are
-c to output the digest with separating colons
..
===================================================
It works with 0.9.6* without any problems.
After digging a little bit around, I've found, that at least in
apps/dgst.c EVP_get_digestbyname(...) always returns NULL :(
I verified this by inserting 'md = EVP_get_digestbyname("md5");'
at line 203 and even inserting OpenSSL_add_all_digests(); as mentioned
in the EVP_md5, does not fix this. I tried to debug/step through the
EVP_get_digestbyname, however, the debugger (gdb with ddd) handles it
as an "atomic" instruction - does not step into the appropriate source.
So, I'm to able to find a little bit more info about this problem :(
I also tried the example given in EVP_md5 and this works
without any problems - magic ???
Would be nice, if one could fix this problem: It is a little bit
annoying, to always tell the users/students, that they should use
0.9.6 binaries, to get their work done and also a little bit to much
work to maintain two instead of one package ... :(
Buildenv: Linux 2.6.9 i686 athlon; gcc 3.4.1
SHLIBDIRS= crypto ssl
./config --prefix=/opt/openssl --openssldir=/opt/openssl \
-L${ROOT4BUILD}/usr/lib -I${ROOT4BUILD}/usr/include \
zlib-dynamic shared
make all build-shared >$MAKELOG
Regards,
jens.
--
+---[ Jens Elkner ]--------------------------------------------------------+
| Walther-Rathenau-Str. 58 [EMAIL PROTECTED] |
| 39104 Magdeburg GERMANY http://www.linofee.org/~jel/ |
+--------------------------------------------------------------------------+
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]