sqlcipher: update to 3.4.2.

Closes: #10171 [via git-merge-pr]
This commit is contained in:
maxice8 2017-12-22 03:14:39 -02:00 committed by Jürgen Buchmüller
parent e3ce0920c3
commit d09de479ec
2 changed files with 2 additions and 13 deletions

View file

@ -1,11 +0,0 @@
--- 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,6 +1,6 @@
# Template file for 'sqlcipher'
pkgname=sqlcipher
version=3.4.1
version=3.4.2
revision=1
build_style=gnu-configure
configure_args="--enable-tempstore=yes"
@ -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=4172cc6e5a79d36e178d36bd5cc467a938e08368952659bcd95eccbaf0fa4ad4
checksum=69897a5167f34e8a84c7069f1b283aba88cdfa8ec183165c4a5da2c816cfaadb
CFLAGS="-DSQLITE_HAS_CODEC"
post_install() {