lib: Changes to avoid warnings during compilation
Changes to avoid warnings for enabling Werror flag in LK
Change-Id: I893ae71ef4ebd54faf1c3bed1d2080d9d733d418
diff --git a/lib/openssl/crypto/conf/conf_lib.c b/lib/openssl/crypto/conf/conf_lib.c
index 54046de..a82c838 100644
--- a/lib/openssl/crypto/conf/conf_lib.c
+++ b/lib/openssl/crypto/conf/conf_lib.c
@@ -62,6 +62,7 @@
#include <openssl/conf.h>
#include <openssl/conf_api.h>
#include <openssl/lhash.h>
+#include <bio.h>
const char CONF_version[]="CONF" OPENSSL_VERSION_PTEXT;
@@ -94,9 +95,9 @@
BIO *in=NULL;
#ifdef OPENSSL_SYS_VMS
- in=BIO_new_file(file, "r");
+ in= (BIO *)BIO_new_file(file, "r");
#else
- in=BIO_new_file(file, "rb");
+ in= (BIO *)BIO_new_file(file, "rb");
#endif
if (in == NULL)
{