Re: dlopen and d2i_DHparams
Re: dlopen and d2i_DHparams
- Subject: Re: dlopen and d2i_DHparams
- From: Steve Checkoway <email@hidden>
- Date: Thu, 18 Aug 2005 13:56:15 -0700
On Aug 18, 2005, at 1:45 PM, Kevin Van Vechten wrote:
What is the difference between SHA1 and d2i_DHparams that would
cause the first program to fail but the second one to succeed?
The obvious difference in the code you provided is that SHA1 is
function invocation and d2i_DHparams is a function reference. I
don't know enough about dlopen semantics to know whether the
reference should be resolved or not, but I'm sure you could use
dlsym(3) to get a valid function reference.
That is what I ended up doing. I also noticed that exported variables
behave in the same way as d2i_DHparams (and i2d_DHparams for that
matter) did in my example.
- Steve
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden