On Thu, Jun 06, 2002 at 12:39:50PM +0300, Mike Pechkin wrote: > On Thu, Jun 06, 2002 at 09:46:28AM +0200, Lutz Jaenicke via RT wrote: > > > > Also, markus@ created this temp patch: > > > +@@ -102,6 +104,13 @@ > > > + !ERROR This module requires OpenSSL 0.9.5a or higher > > > + #endif /* OPENSSL_VERSION_NUMBER */ > > > + #endif /* SSLDLL */ > > > ++ > > > ++#if OPENSSL_VERSION_NUMBER < 0x00907000L > > > ++#else > > > ++ #ifndef NID_UniqueIdentifier > > > ++ #define NID_uniqueIdentifier NID_x500UniqueIdentifier > > > ++ #endif > > > ++#endif > > > + > > > + static int auth_ssl_valid = 0; > > > + static char *auth_ssl_name = 0; /* this holds the oneline name */ > > > > That looks better, but not finally good enough. I think that the correct > > solution would be something like: > > * Replace all occurences of NID_UniqueIdentifier with > > ID_X500UniqueIdentifier. ^^^^^^^^^^^ You hopefully didn't take this directly and used the correct setting with the leading 'N'...
> > * Then: > > #if OPENSSL_VERSION_NUMBER < 0x00907000L > > #define NID_X500UniqueIdentifier NID_UniqueIdentifier > > #endif > I see. Lets' back to this patch. > Patch doesn't work. Now we have ssl = 0x00907000L Mine is at #define OPENSSL_VERSION_NUMBER 0x00907001L Best regards, Lutz PS. I didn't test the patch. I simply typed it into RT's communication window, so maybe there is a typo inside... -- 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]