Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dlopen and d2i_DHparams



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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >dlopen and d2i_DHparams (From: Steve Checkoway <email@hidden>)
 >Re: dlopen and d2i_DHparams (From: Kevin Van Vechten <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.