Hi all,
working on porting my libpki implementation (based on OpenSSL) to MacOS
I found out an issue that is not really related to the code itself but
the distributed version in the SDK.
In particular, I found out that several functions' signatures have been
altered in their return codes. This is particularly scary as they
removed the ability to verify the return code by changing the return
type to void. An example of this is: HMAC_Init_ex(), HMAC_Update(),
HMAC_Final().
I don't know if there are others.
I am not sure if this is an issue or if any of the people subscribed
here from Apple could explain why they changed an API that is not theirs
and that causes portability issues of applications that are based on
OpenSSL. But I think this is a big mistake from Apple and if we could
manage to have them to actually include a non-modified version of the
API (or at least change the names of include/lib so that applications
will not have compiling issues and/or binary incompatibilities), that
would be a good outcome.
This, of course, unless I am missing an important reason - so far, my
contacts at Apple were not able to give any real reasons for that odd
changes other than (quote) "it must be that Apple looked at the code and
those functions can not fail.. besides what would you do if that fails
?" (arguably, a very wrong answer also considering it is not an Apple's
internal API).
Best,
Dr. Pala
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majord...@openssl.org