diff options
Diffstat (limited to 'ssl.patch')
-rw-r--r-- | ssl.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/ssl.patch b/ssl.patch deleted file mode 100644 index b1ef69503586..000000000000 --- a/ssl.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff --git a/src/cpp/core/CMakeLists.txt b/src/cpp/core/CMakeLists.txt -index 3990f893d3..d5b390dacf 100644 ---- a/src/cpp/core/CMakeLists.txt -+++ b/src/cpp/core/CMakeLists.txt -@@ -202,8 +202,12 @@ if (UNIX) - endif() - - if(RSTUDIO_SERVER) -- find_package(OpenSSL REQUIRED QUIET) -+ #find_package(OpenSSL REQUIRED QUIET) - find_package(PAM REQUIRED) -+ find_library(SSL ssl PATHS /usr/lib/openssl-1.0) -+ find_library(CRYPTO crypto PATHS /usr/lib/openssl-1.0) -+ set(OPENSSL_INCLUDE_DIRS /usr/include/openssl-1.0) -+ set(OPENSSL_LIBRARIES /usr/lib/openssl-1.0/libssl.so /usr/lib/openssl-1.0/libcrypto.so) - set(CORE_SYSTEM_LIBRARIES - ${CORE_SYSTEM_LIBRARIES} - ${OPENSSL_LIBRARIES} -diff --git a/src/cpp/core/system/Crypto.cpp b/src/cpp/core/system/Crypto.cpp -index da286d2950..4569e8ba07 100644 ---- a/src/cpp/core/system/Crypto.cpp -+++ b/src/cpp/core/system/Crypto.cpp -@@ -18,14 +18,14 @@ - - #include <fcntl.h> - --#include <openssl/err.h> --#include <openssl/hmac.h> --#include <openssl/bio.h> --#include <openssl/buffer.h> --#include <openssl/evp.h> --#include <openssl/pem.h> --#include <openssl/rand.h> --#include <openssl/rsa.h> -+#include <openssl-1.0/openssl//err.h> -+#include <openssl-1.0/openssl//hmac.h> -+#include <openssl-1.0/openssl//bio.h> -+#include <openssl-1.0/openssl//buffer.h> -+#include <openssl-1.0/openssl//evp.h> -+#include <openssl-1.0/openssl//pem.h> -+#include <openssl-1.0/openssl//rand.h> -+#include <openssl-1.0/openssl//rsa.h> - - #include <algorithm> - |