FreeBSD Bugzilla – Attachment 187358 Details for
Bug 223156
databases/sqlcipher: update 3.4.1 -> 3.4.2 to fix build with libressl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix build with libressl
patch (text/plain), 1.13 KB, created by
Matthew Rezny
on 2017-10-22 07:16:07 UTC
(
hide
)
Description:
fix build with libressl
Filename:
MIME Type:
Creator:
Matthew Rezny
Created:
2017-10-22 07:16:07 UTC
Size:
1.13 KB
patch
obsolete
>Index: databases/sqlcipher/files/patch-src_crypto__openssl.c >=================================================================== >--- databases/sqlcipher/files/patch-src_crypto__openssl.c (nonexistent) >+++ databases/sqlcipher/files/patch-src_crypto__openssl.c (working copy) >@@ -0,0 +1,13 @@ >+# Fix building with libressl #229 >+# >+--- src/crypto_openssl.c.orig 2016-12-28 17:39:09 UTC >++++ src/crypto_openssl.c >+@@ -46,7 +46,7 @@ static unsigned int openssl_external_ini >+ static unsigned int openssl_init_count = 0; >+ static sqlite3_mutex* openssl_rand_mutex = NULL; >+ >+-#if OPENSSL_VERSION_NUMBER < 0x10100000L >++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) >+ static HMAC_CTX *HMAC_CTX_new(void) >+ { >+ HMAC_CTX *ctx = OPENSSL_malloc(sizeof(*ctx)); > >Property changes on: databases/sqlcipher/files/patch-src_crypto__openssl.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 223156
:
187358
|
188950
|
190470