summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-06-14 10:27:15 +0000
committersma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-06-14 10:27:15 +0000
commitf523b09e5e430b565aea33b6f53603c42b9d87b6 (patch)
tree1547f90baeacf3cc6fc33e88dd027020797cd0bc
parent1d0b380c96c34ac6b2e70b0a8ca1da9d30ff727c (diff)
downloadATCD-f523b09e5e430b565aea33b6f53603c42b9d87b6.tar.gz
ChangeLogTag: Thu Jun 14 10:28:00 UTC 2007 Simon Massey <sma@prismtech.com>
-rw-r--r--TAO/ChangeLog9
-rw-r--r--TAO/orbsvcs/orbsvcs/SSLIOP/params_dup.cpp20
2 files changed, 26 insertions, 3 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 7f4e470fe7a..f69f4dc9006 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,12 @@
+Thu Jun 14 10:28:00 UTC 2007 Simon Massey <sma@prismtech.com>
+
+ * orbsvcs/orbsvcs/SSLIOP/params_dup.cpp:
+
+ Now the windows files are objecting to C linkage of
+ the included c file. Having to backstep the cpp file
+ to my original mods style once again which we know
+ works on the windows platforms.
+
Wed Jun 13 12:40:00 UTC 2007 Simon Massey <sma@prismtech.com>
* orbsvcs/orbsvcs/SSLIOP.mpc:
diff --git a/TAO/orbsvcs/orbsvcs/SSLIOP/params_dup.cpp b/TAO/orbsvcs/orbsvcs/SSLIOP/params_dup.cpp
index 2bc56ed264d..d06b1bf8923 100644
--- a/TAO/orbsvcs/orbsvcs/SSLIOP/params_dup.cpp
+++ b/TAO/orbsvcs/orbsvcs/SSLIOP/params_dup.cpp
@@ -2,8 +2,22 @@
// MFC style projects on MicroSoft compilers require CPP files
// They can't cope with c files (as MFC projects are CPP by
-// there very nature).
+// there very nature). Some other platforms incorrectly can't
+// cope with the openSSL DSAParams_dup/DHparams_dup when compiled
+// under cpp files (which is why this file duplicates the
+// params_dup.c file).
-extern "C" {
-#include "params_dup.c"
+#include "params_dup.h"
+#include <openssl/asn1.h>
+
+extern "C" DSA *
+DSAPARAMS_DUP_WRAPPER_NAME (DSA * dsa)
+{
+ return DSAparams_dup (dsa);
+}
+
+extern "C" DH *
+DHPARAMS_DUP_WRAPPER_NAME (DH * dh)
+{
+ return DHparams_dup (dh);
}