Commit d9ff7f21 authored by Matthias Klumpp's avatar Matthias Klumpp

fix-OPENSSL_sk_num.patch: Update OPENSSL_sk_num definition

parent afd021d9
From 6128b17e5302b0a972c62173c44fe21bdf704eb1 Mon Sep 17 00:00:00 2001
From: Matthias Klumpp <mak@debian.org>
Date: Thu, 10 Jan 2019 02:48:25 +0100
Subject: [PATCH] Update OPENSSL_sk_num definition
---
tls/vibe/stream/openssl.d | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/tls/vibe/stream/openssl.d
+++ b/tls/vibe/stream/openssl.d
@@ -96,11 +96,11 @@
alias get_rfc3526_prime_2048 = BN_get_rfc3526_prime_2048;
// # define sk_num OPENSSL_sk_num
- extern(C) int OPENSSL_sk_num(const void *);
+ extern(C) int OPENSSL_sk_num(const(_STACK)*);
extern(C) int sk_num(const(_STACK)* p) { return OPENSSL_sk_num(p); }
// # define sk_value OPENSSL_sk_value
- extern(C) void *OPENSSL_sk_value(const void *, int);
+ extern(C) void* OPENSSL_sk_value(const(_STACK)*, int);
extern(C) void* sk_value(const(_STACK)* p, int i) { return OPENSSL_sk_value(p, i); }
}
01_explicit-mir-core.patch
02_fix-OPENSSL_sk_num.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment