mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
gsoap: remove libressl patches
This commit is contained in:
parent
767a83c33e
commit
fdfd33c3ee
2 changed files with 1 additions and 41 deletions
|
@ -1,40 +0,0 @@
|
|||
diff --git a/gsoap/plugin/smdevp.c b/gsoap/plugin/smdevp.c
|
||||
index a42d7be..193f470 100644
|
||||
--- gsoap/plugin/smdevp.c
|
||||
+++ gsoap/plugin/smdevp.c
|
||||
@@ -479,7 +479,7 @@ soap_smd_init(struct soap *soap, struct soap_smd_data *data, int alg, const void
|
||||
/* allocate and init the OpenSSL HMAC or EVP_MD context */
|
||||
if ((alg & SOAP_SMD_ALGO) == SOAP_SMD_HMAC)
|
||||
{
|
||||
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
|
||||
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
|
||||
data->ctx = (void*)SOAP_MALLOC(soap, sizeof(HMAC_CTX));
|
||||
if (data->ctx)
|
||||
HMAC_CTX_init((HMAC_CTX*)data->ctx);
|
||||
@@ -489,7 +489,7 @@ soap_smd_init(struct soap *soap, struct soap_smd_data *data, int alg, const void
|
||||
}
|
||||
else
|
||||
{
|
||||
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
|
||||
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
|
||||
data->ctx = (void*)SOAP_MALLOC(soap, sizeof(EVP_MD_CTX));
|
||||
if (data->ctx)
|
||||
EVP_MD_CTX_init((EVP_MD_CTX*)data->ctx);
|
||||
@@ -642,7 +642,7 @@ soap_smd_final(struct soap *soap, struct soap_smd_data *data, char *buf, int *le
|
||||
*len = (int)n;
|
||||
}
|
||||
/* cleanup */
|
||||
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
|
||||
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
|
||||
if ((data->alg & SOAP_SMD_ALGO) == SOAP_SMD_HMAC)
|
||||
HMAC_CTX_cleanup((HMAC_CTX*)data->ctx);
|
||||
else
|
||||
@@ -687,7 +687,7 @@ soap_smd_check(struct soap *soap, struct soap_smd_data *data, int ok, const char
|
||||
}
|
||||
if (data->ctx)
|
||||
{
|
||||
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
|
||||
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(OPENSSL_VERSION_NUMBER)
|
||||
if ((data->alg & SOAP_SMD_ALGO) == SOAP_SMD_HMAC)
|
||||
HMAC_CTX_cleanup((HMAC_CTX*)data->ctx);
|
||||
else
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'gsoap'
|
||||
pkgname=gsoap
|
||||
version=2.8.65
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
wrksrc="${pkgname}-${version%.*}"
|
||||
disable_parallel_build=yes
|
||||
|
|
Loading…
Add table
Reference in a new issue