summaryrefslogtreecommitdiffstats
path: root/libcrypto_utils/android_pubkey.c
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2016-04-15 17:44:05 -0400
committerDavid Benjamin <davidben@google.com>2016-04-15 17:44:05 -0400
commit2257f6baf5fb0efedd7d7852bc81fb120198dfff (patch)
treeb6c16da990d37a5fffc7a5b259526f622aebd820 /libcrypto_utils/android_pubkey.c
parent1607ea64cbdeea766c05d033afe0c65ea978b399 (diff)
downloadsystem_core-2257f6baf5fb0efedd7d7852bc81fb120198dfff.tar.gz
system_core-2257f6baf5fb0efedd7d7852bc81fb120198dfff.tar.bz2
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/android_pubkey.c')
-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 @@
#include <stdlib.h>
#include <string.h>
+#include <openssl/bn.h>
+
// Better safe than sorry.
#if (ANDROID_PUBKEY_MODULUS_SIZE % 4) != 0
#error RSA modulus size must be multiple of the word size!