Re: fwd: MySQL 4.0.15 / OpenSSL 0.9.7

Re: fwd: MySQL 4.0.15 / OpenSSL 0.9.7

am 21.09.2003 00:18:46 von Dmitri Lenev

Hi, Mark!

Beg your pardon for such late response!

> Date: Thu, 11 Sep 2003 02:56:05 +0200
> From: Marc Recht
> To: bugs@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 !

--
Dmitri Lenev, Software Developer
MySQL AB, www.mysql.com
Office: +7 095 2546993

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

--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: fwd: MySQL 4.0.15 / OpenSSL 0.9.7

am 25.09.2003 02:31:00 von Marc Recht

> 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.

We don't ship the des_old.h header with NetBSD-current.

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

Only a bit;-)

> 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).

OK, thanks. I'll have a look.

Cheers,
Marc

--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org