summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Benjamin2016-04-15 16:44:05 -0500
committerDavid Benjamin2016-04-15 16:44:05 -0500
commit2257f6baf5fb0efedd7d7852bc81fb120198dfff (patch)
treeb6c16da990d37a5fffc7a5b259526f622aebd820 /libcrypto_utils
parent1607ea64cbdeea766c05d033afe0c65ea978b399 (diff)
downloadplatform-system-core-2257f6baf5fb0efedd7d7852bc81fb120198dfff.tar.gz
platform-system-core-2257f6baf5fb0efedd7d7852bc81fb120198dfff.tar.xz
platform-system-core-2257f6baf5fb0efedd7d7852bc81fb120198dfff.zip
Fix include-what-you-use problem in android-pubkey.c.
This fixes a problem building against BoringSSL master. Change-Id: Ib052c6a59454126a83e32e9a43391470aca7356a
Diffstat (limited to 'libcrypto_utils')
-rw-r--r--libcrypto_utils/android_pubkey.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrypto_utils/android_pubkey.c b/libcrypto_utils/android_pubkey.c
index 9cd9aabe1..3052e52bf 100644
--- a/libcrypto_utils/android_pubkey.c
+++ b/libcrypto_utils/android_pubkey.c
@@ -20,6 +20,8 @@
20#include <stdlib.h> 20#include <stdlib.h>
21#include <string.h> 21#include <string.h>
22 22
23#include <openssl/bn.h>
24
23// Better safe than sorry. 25// Better safe than sorry.
24#if (ANDROID_PUBKEY_MODULUS_SIZE % 4) != 0 26#if (ANDROID_PUBKEY_MODULUS_SIZE % 4) != 0
25#error RSA modulus size must be multiple of the word size! 27#error RSA modulus size must be multiple of the word size!