diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-02-19 02:28:04 -0800 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-02-19 02:28:14 -0800 |
commit | d2e373f81e025b309d7ab316667d9adc1fc3794c (patch) | |
tree | 6b579c5b63646a164eb36bd992244c0ff910df55 /databases/sqlcipher/files/patch-sqlcipher-libressl-2.7 | |
parent | databases/greptimedb: Formatting and cosmetic changes (diff) |
databases/sqlcipher: update 3.4.2 → 4.5.6
PR: 277056
Approved by: jharris@widomaker.com (maintainer)
Diffstat (limited to '')
-rw-r--r-- | databases/sqlcipher/files/patch-sqlcipher-libressl-2.7 | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/databases/sqlcipher/files/patch-sqlcipher-libressl-2.7 b/databases/sqlcipher/files/patch-sqlcipher-libressl-2.7 deleted file mode 100644 index bda45d959ea3..000000000000 --- a/databases/sqlcipher/files/patch-sqlcipher-libressl-2.7 +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/src/crypto_openssl.c b/src/crypto_openssl.c -index a45db3b..4344076 100644 ---- src/crypto_openssl.c.orig -+++ src/crypto_openssl.c -@@ -47,7 +47,7 @@ static unsigned int openssl_external_init = 0; - static unsigned int openssl_init_count = 0; - static sqlite3_mutex* openssl_rand_mutex = NULL; - --#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000) - static HMAC_CTX *HMAC_CTX_new(void) - { - HMAC_CTX *ctx = OPENSSL_malloc(sizeof(*ctx)); -@@ -117,7 +117,7 @@ static int sqlcipher_openssl_activate(void *ctx) { - - if(openssl_init_count == 0 && openssl_external_init == 0) { - /* if the library was not externally initialized, then should be now */ --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000) - OpenSSL_add_all_algorithms(); - #endif - } -@@ -154,7 +154,7 @@ static int sqlcipher_openssl_deactivate(void *ctx) { - Note: this code will only be reached if OpensSSL_add_all_algorithms() - is called by SQLCipher internally. This should prevent SQLCipher from - "cleaning up" openssl when it was initialized externally by the program */ --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000) - EVP_cleanup(); - #endif - } else { |