Re: Missing define in err.h

2002-04-22 Thread Lutz Jaenicke

On Mon, Apr 22, 2002 at 07:25:50AM -0500, Kenneth R. Robinette wrote:
> In OpenSSL 0.9.6, file err.h,  there is a define:
> 
> #define ERR_file_name   __FILE__
> 
> which is missing is 0.9.7.  Is this by design or accident?

>From the log of err.h 1.24 -> 1.25
Get rid of '#define ERR_file_name __FILE__', which is unnecessary indirection.
(It cannot possibly help to avoid duplicate 'name of file' strings
in object files because the preprocessor does not work at object file
level.)

There however still is
#define COMPerr(f,r) ERR_PUT_error(ERR_LIB_COMP,(f),(r),ERR_file_name,__LINE__)
left unnoted, as the macro is not used anywhere in OpenSSL.

As it is part of the public interface, I will fix the macro and not
just simply remove it :-)
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Missing define in err.h

2002-04-22 Thread Kenneth R. Robinette

In OpenSSL 0.9.6, file err.h,  there is a define:

#define ERR_file_name   __FILE__

which is missing is 0.9.7.  Is this by design or accident?

Ken
__
Support
InterSoft International, Inc.
Voice: 888-823-1541, International 281-398-7060
Fax: 888-823-1542, International 281-560-9170
[EMAIL PROTECTED]
http://www.securenetterm.com

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]