[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug: Use of srp with gnutlsxx
From: |
Adda Rathbone |
Subject: |
Bug: Use of srp with gnutlsxx |
Date: |
Thu, 8 Apr 2010 12:32:24 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hello,
if you compile version 2.8.5 or 2.8.6 and try to use
gnutls::srp_server_credentials or gnutls::srp_client_credentials
the compiler will complain about the constructor and
destructor of the srp class
Fix is descriped here: http://markmail.org/message/vu3da76lrlz6icvl
For people who don't follow links in an email:
diff -u a/lib/gnutlsxx.cpp b/lib/gnutlsxx.cpp
--- a/lib/gnutlsxx.cpp 2010-04-08 12:22:37.000000000 +0200
+++ b/lib/gnutlsxx.cpp 2010-04-08 00:27:08.000000000 +0200
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <gnutls/gnutlsxx.h>
namespace gnutls
diff -u a/lib/libgnutlsxx.map b/lib/libgnutlsxx.map
--- a/lib/libgnutlsxx.map 2010-04-08 12:22:28.000000000 +0200
+++ b/lib/libgnutlsxx.map 2010-04-08 00:29:18.000000000 +0200
@@ -24,7 +24,9 @@
{
global:
extern "C++" {
- gnutls*;
+ gnutls::*;
};
+ # export typeinfo names and structures
+ _ZTI*;
local: *;
};
Adda
- Bug: Use of srp with gnutlsxx,
Adda Rathbone <=