2 messages in com.mysql.lists.bugsRe: fwd: MySQL 4.0.15 / OpenSSL 0.9.7
FromSent OnAttachments
Dmitri Lenev20 Sep 2003 15:18 
Marc Recht24 Sep 2003 17:30 
Subject:Re: fwd: MySQL 4.0.15 / OpenSSL 0.9.7
From:Dmitri Lenev (dle@mysql.com)
Date:09/20/2003 03:18:24 PM
List:com.mysql.lists.bugs

Hi, Mark!

Beg your pardon for such late response!

Date: Thu, 11 Sep 2003 02:56:05 +0200 From: Marc Recht <rec@netbsd.org> To: bu@lists.mysql.com Subject: MySQL 4.0.15 / OpenSSL 0.9.7

Hi!

ATM MySQL 4.0 doesn't compile with OpenSSL 0.9.7. Since OpenSSL is the base system of NetBSD-current (which will be NetBSD 2.0) this is a rather big drawback.

Actually MySQL 4.0 should compile (and compiles in general case) with OpenSSL 0.9.7. OpenSSL provides backward compatibility with special macros for des_ functions and types. These macros are defined by default unless someone turns off them explicitly by defining OPENSSL_DISABLE_OLD_DES_SUPPORT macro variable.

So probably your case is something NetBSD specific. But anyway these function are deprecated and should be replaced by their newer versions.

I've made some patches for the NetBSD pkgsrc collection which fix this (attached).

Being inspired by your patch I've fixed this issue, and commited fix to our source repository. The fix will be availiable in next 4.0 release. You can access to source repository and build fixed version yourself if needed (see http://www.mysql.com/doc/en/Installing_source_tree.html for more info).

Thank you, for exposing this problem and providing its solution !

Are you MySQL certified? www.mysql.com/certification