From 7cb920b6acbbddf281d9eb77ef785ec63fde3843 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Fri, 20 May 2016 08:28:56 -0700 Subject: [PATCH] Include crypto.h from pem.h. open_iscsi assumes that it can get |OPENSSL_malloc| after including only pem.h and err.h. Since pem.h already includes quite a lot, this change adds crypto.h to that set so that open_iscsi is happy. Change-Id: I6dc06c27088ce3ca46c1ab53bb29650033cba267 Reviewed-on: https://boringssl-review.googlesource.com/8031 Reviewed-by: David Benjamin --- include/openssl/pem.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/openssl/pem.h b/include/openssl/pem.h index b899d9f7..58aecaf5 100644 --- a/include/openssl/pem.h +++ b/include/openssl/pem.h @@ -65,6 +65,10 @@ #include #include +/* For compatibility with open-iscsi, which assumes that it can get + * |OPENSSL_malloc| from pem.h or err.h */ +#include + #ifdef __cplusplus extern "C" { #endif