Bodo Moeller wrote:
> 
> 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.

It may be a good idea to test that configuration works, somehow. And
yeah, I shouldn't have put config in evp_test, it was a mistake.

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html       http://www.thebunker.net/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to