blob: 001779133440d833222ef2fc72e4f130a93c2907 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ba,v 1.1 2004/10/08 21:02:54 mjl Exp $
Work around a C/C++ difference in openssl/dh.h
--- src/ptclib/pssl.cxx.orig 2004-10-08 19:13:06.000000000 +0200
+++ src/ptclib/pssl.cxx 2004-10-08 19:43:28.000000000 +0200
@@ -732,6 +732,9 @@
}
+#define d2i_DHparams_bio(bp,x) (DH *)ASN1_d2i_bio((char *(*)(...))DH_new, \
+ (char *(*)(...))d2i_DHparams,(bp),(unsigned char **)(x))
+
BOOL PSSLDiffieHellman::Load(const PFilePath & dhFile,
PSSLFileTypes fileType)
{
|