void-packages/srcpkgs/sssd/patches/libressl.patch
2020-09-20 11:04:41 -04:00

18 lines
1.1 KiB
Diff

diff -Naurp0 a/lib/certmap/sss_cert_content_crypto.c b/lib/certmap/sss_cert_content_crypto.c
--- src/lib/certmap/sss_cert_content_crypto.c 2020-09-06 16:39:47.669132066 +0200
+++ src/lib/certmap/sss_cert_content_crypto.c 2020-09-06 16:39:51.923060279 +0200
@@ -774,2 +774,2 @@ int sss_cert_get_content(TALLOC_CTX *mem
- if ((X509_get_extension_flags(cert) & EXFLAG_KUSAGE)) {
- cont->key_usage = X509_get_key_usage(cert);
+ if (cert->ex_flags & EXFLAG_KUSAGE) {
+ cont->key_usage = cert->ex_kusage;
diff -Naurp0 a/p11_child/p11_child_openssl.c b/p11_child/p11_child_openssl.c
--- src/p11_child/p11_child_openssl.c 2020-09-06 16:39:47.663132167 +0200
+++ src/p11_child/p11_child_openssl.c 2020-09-06 16:39:51.887060887 +0200
@@ -33,0 +34 @@
+#include <limits.h>
diff -Naurp0 a/util/crypto/libcrypto/crypto_hmac_sha1.c b/util/crypto/libcrypto/crypto_hmac_sha1.c
--- src/util/crypto/libcrypto/crypto_hmac_sha1.c 2020-09-06 16:39:47.705131458 +0200
+++ src/util/crypto/libcrypto/crypto_hmac_sha1.c 2020-09-06 16:39:51.870061174 +0200
@@ -19,0 +20 @@
+#include <limits.h>