diff options
author | David Benjamin <davidben@google.com> | 2017-09-15 18:36:40 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-09-16 03:11:18 -0400 |
commit | 843200c5b9b5de41e5acefce593f1229970f18ef (patch) | |
tree | 26f09dc6119b14b3efa0d2704b1e3d3ce41669ea /lib/vtls | |
parent | 93843c372f101b994194f0192db159c16d26a7c0 (diff) | |
download | curl-843200c5b9b5de41e5acefce593f1229970f18ef.tar.gz |
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
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/openssl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 2933584b3..786f6c09a 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -66,6 +66,8 @@ #include <openssl/conf.h> #include <openssl/bn.h> #include <openssl/rsa.h> +#include <openssl/bio.h> +#include <openssl/buffer.h> #ifdef HAVE_OPENSSL_PKCS12_H #include <openssl/pkcs12.h> |