On Thu, Feb 14, 2002 at 02:42:36PM +0100, [EMAIL PROTECTED] wrote: > Log: > For some reason, getting the topmost error was done the same way as > getting the bottommost one. I hope I understood correctly how this > should be done. It seems to work when running evp_test in an > environment where it can't find openssl.cnf.
> --- err.c 2002/01/24 17:17:29 1.51 > +++ err.c 2002/02/14 13:42:33 1.51.2.1 > @@ -720,7 +720,7 @@ > > if (es->bottom == es->top) return 0; > if (top) > - i=(es->bottom+1)%ERR_NUM_ERRORS; /* last error */ > + i=es->top; /* last error */ > else > i=(es->bottom+1)%ERR_NUM_ERRORS; /* first error */ > This fix for err.c is correct. But evp_test.c should never have called OPENSSL_config() because OPENSSL_config() uses the configuration file found in an OpenSSL *installation*. If we want to use a configuration file during 'make test', we should use one located in the source tree. -- Bodo Möller <[EMAIL PROTECTED]> PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html * TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt * Tel. +49-6151-16-6628, Fax +49-6151-16-6036 ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]