summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-05-26 20:29:42 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-05-26 20:29:42 +0200
commit50c58a21d6fe694fe217ebd2aa402173575bfed1 (patch)
tree7ddc6125c69c9d88cbbbfa7d6ce89bc1dbfd54bc /src
parent48b82732e3c0891e8d6a3fe601846bbdcbb952b1 (diff)
fixup! Support openssl 1.1.0+
Fix compilation error
Diffstat (limited to 'src')
-rw-r--r--src/ssl_openssl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl_openssl.cc b/src/ssl_openssl.cc
index de27dd4..437d05b 100644
--- a/src/ssl_openssl.cc
+++ b/src/ssl_openssl.cc
@@ -30,7 +30,7 @@ BIO_METHOD* BIO_meth_new(int type, const char* name) {
memset(bm, 0, sizeof(BIO_METHOD));
bm->type = type;
bm->name = name;
- return ret;
+ return bm;
}
void BIO_meth_free(BIO_METHOD* bm) {