Hello,

One remark. We need use 'include <openssl/opensslconf.h>' for use OPENSSL_NO_EC.

Сomplete example (or see src/pkcs11/openssl.c):

#include <openssl/opensslv.h> /* for OPENSSL_VERSION_NUMBER */
#if OPENSSL_VERSION_NUMBER >= 0x10000000L
#include <openssl/conf.h>
#include <openssl/opensslconf.h> /* for OPENSSL_NO_* */
#ifndef OPENSSL_NO_EC
#include <openssl/ec.h>
#endif /* OPENSSL_NO_EC */


2010/12/3 jons...@terra.es <jons...@terra.es>:
>> OPENSSL_VERSION_NUMBER >= 0x10000000L && !defined(OPENSSL_NO_EC) is the
>> key,
>> Douglas hopefully plans that into the next patch unless you do it before
>> (I don't have a Fedora VM available at the moment)
>
> OK :-) attached patch works for me
>
> Juan Antonio
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to