On Apr 26, 2007, at 5:18 PM, Naveen Rawat wrote:
I tried this (mysql_ssl_set) API but it is really not working from within a module. It is otherwise working perfect for a standalone client application.This could be a sort of some core issue. I am ready for an out of box solution to it, if it exists.
OK, here we go. When you say "is really not working", in what way does this non-working state manifest itself? Are you getting:
* Prototype errors (need to pull in appropriate .h?)* Missing symbols on link (perhaps you need to link against libssl and libcrypt explicitly?) * Missing symbols when loading module (link against correct libraries, LD_LIBRARY_PATH? LoadFile? Run ldd on your compiled module, does it find/need/want the SSL libs?) * API call fails when running server (how? Does your client library know SSL? Really?)
The most important part is HOW does your effort fail? WHAT are the error messages you get WHEN?
This is a programmer list. Please speak programmer language or we will be absolutely unable to help you.
As Günter says, you may look at how PHP does it. That's an out-of- the-box solution, but it's a pretty big box.
S. (Awake, jet-lagged, no coffee) -- [EMAIL PROTECTED] http://www.temme.net/sander/ PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF
smime.p7s
Description: S/MIME cryptographic signature
