> -----Original Message-----
> From: Frank de Brabander [mailto:braban...@fox-it.com]
> 
> Hello,
> 
> I have looked into the problem, it seems to be caused by the return
> type of cipher_kt_mode() in crypto_backend.h being declared as a bool.
> This function is called from init_key_type() of crypto.c during the
> tests. The actual mode value in cipher_kt_mode() of openssl_backend.c
> during the failed test is 2, but is converted to 1 due to this boolean
> return type.
> My guess is that this is only happening on OS X because of a specific
> GCC compiler version or custom Apple patches.
> 
> Below I have included a patch that changes the bool return type to an
> int.
> This will result in 'make check' to pass.
> 

Ack, I saw this work on Frank's mac :). Apologies for the missed bool.

Adriaan


Reply via email to