sqlcipher: update to 3.4.1.

Closes: #7875 [via git-merge-pr]
This commit is contained in:
maxice8 2017-09-29 13:32:34 -03:00 committed by Michael Aldridge
parent 369f1a59d6
commit 16e218cddc
2 changed files with 14 additions and 3 deletions

View File

@ -0,0 +1,11 @@
--- src/crypto_openssl.c
+++ src/crypto_openssl.c
@@ -46,7 +46,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
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
static HMAC_CTX *HMAC_CTX_new(void)
{
HMAC_CTX *ctx = OPENSSL_malloc(sizeof(*ctx));

View File

@ -1,7 +1,7 @@
# Template file for 'sqlcipher'
pkgname=sqlcipher
version=3.4.0
revision=4
version=3.4.1
revision=1
build_style=gnu-configure
configure_args="--enable-tempstore=yes"
hostmakedepends="tcl"
@ -11,7 +11,7 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="3-clause-BSD"
homepage="https://www.zetetic.net/sqlcipher/"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=99b702ecf796de02bf7b7b35de4ceef145f0d62b4467a86707c2d59beea243d0
checksum=4172cc6e5a79d36e178d36bd5cc467a938e08368952659bcd95eccbaf0fa4ad4
CFLAGS="-DSQLITE_HAS_CODEC"
post_install() {