1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

openssl: add missing includes

lib/vtls/openssl.c uses OpenSSL APIs from BUF_MEM and BIO APIs. Include
their headers directly rather than relying on other OpenSSL headers
including things.

Closes https://github.com/curl/curl/pull/1891
This commit is contained in:
David Benjamin 2017-09-15 18:36:40 -04:00 committed by Jay Satiro
parent 93843c372f
commit 843200c5b9

View File

@ -66,6 +66,8 @@
#include <openssl/conf.h> #include <openssl/conf.h>
#include <openssl/bn.h> #include <openssl/bn.h>
#include <openssl/rsa.h> #include <openssl/rsa.h>
#include <openssl/bio.h>
#include <openssl/buffer.h>
#ifdef HAVE_OPENSSL_PKCS12_H #ifdef HAVE_OPENSSL_PKCS12_H
#include <openssl/pkcs12.h> #include <openssl/pkcs12.h>