hcrypto: Default to CommonCrypto on Apple OSes
commit6fbe672451be28a66952b13657fd5d5760a899f6
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 24 Nov 2015 14:48:44 +0000 (24 09:48 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 24 Nov 2015 14:48:44 +0000 (24 09:48 -0500)
tree6caa5a1ffa1a94096508b9483c137c1e0cae955c
parent3e6fffed6053c02709ef180d13504691e37f4787
hcrypto: Default to CommonCrypto on Apple OSes

When __APPLE__ is defined and HCRYPTO_DEF_PROVIDER is not defined,
define HCRYPTO_DEF_PROVIDER to be "cc" so that Apple's CommonCrypto
implementations are used instead of the built-in "hcrypto"
implementations.

Change-Id: I393e5fc3f6c3b9339c96db58d926ff8ea1867cbb
lib/hcrypto/evp.c