pidgin-sipe: remove libressl patches

This commit is contained in:
Enno Boland 2018-04-17 09:45:44 +02:00
parent 0f7751674a
commit abcf478e87
No known key found for this signature in database
GPG key ID: D09964719BDE9971
2 changed files with 1 additions and 21 deletions

View file

@ -1,20 +0,0 @@
--- src/core/sipe-digest-openssl.c.orig 2017-06-11 00:58:07.000000000 +0000
+++ src/core/sipe-digest-openssl.c 2017-07-15 11:50:28.560520967 +0000
@@ -77,7 +77,7 @@
/* Stream HMAC(SHA1) digest for file transfer */
gpointer sipe_digest_ft_start(const guchar *sha1_digest)
{
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
HMAC_CTX *ctx = g_malloc(sizeof(HMAC_CTX));
HMAC_CTX_init(ctx);
#else
@@ -101,7 +101,7 @@
void sipe_digest_ft_destroy(gpointer context)
{
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
HMAC_CTX_cleanup(context);
g_free(context);
#else

View file

@ -1,7 +1,7 @@
# Template file for 'pidgin-sipe'
pkgname=pidgin-sipe
version=1.23.2
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="pidgin-devel libressl-devel libxml2-devel dbus-glib-devel"