1 diff -ur bitcoin-0.12.0.orig/src/init.cpp bitcoin-0.12.0/src/init.cpp
2 --- bitcoin-0.12.0.orig/src/init.cpp 2015-12-31 16:00:00.000000000 -0800
3 +++ bitcoin-0.12.0/src/init.cpp 2016-02-23 06:03:47.133227757 -0800
8 -#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
9 +#if defined(LIBRESSL_VERSION_NUMBER) || (OPENSSL_VERSION_NUMBER < 0x10100000L)
10 LogPrintf("Using OpenSSL version %s\n", SSLeay_version(SSLEAY_VERSION));
12 LogPrintf("Using OpenSSL version %s\n", OpenSSL_version(OPENSSL_VERSION));
13 diff -ur bitcoin-0.12.0.orig/src/qt/rpcconsole.cpp bitcoin-0.12.0/src/qt/rpcconsole.cpp
14 --- bitcoin-0.12.0.orig/src/qt/rpcconsole.cpp 2015-12-31 16:00:00.000000000 -0800
15 +++ bitcoin-0.12.0/src/qt/rpcconsole.cpp 2016-02-23 15:09:42.881126841 -0800
18 // set library version labels
20 -#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
21 +#if defined(LIBRESSL_VERSION_NUMBER) || (OPENSSL_VERSION_NUMBER < 0x10100000L)
22 ui->openSSLVersion->setText(SSLeay_version(SSLEAY_VERSION));
24 ui->openSSLVersion->setText(OpenSSL_version(OPENSSL_VERSION));