fix building with libressl

This commit is contained in:
Enno Boland 2017-05-21 10:48:58 +02:00
parent ef59a604d2
commit 2046d9eaae
11 changed files with 54 additions and 54 deletions

View file

@ -90,7 +90,7 @@ static int clear_tou_socket_error(int s);
#include "tou.h"
#if OPENSSL_VERSION_NUMBER < 0x10100000L
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
//static void BIO_set_shutdown(BIO *a,int s) { a->shutdown=s; }
static int BIO_get_shutdown(BIO *a) { return a->shutdown; }