Skip to content
Snippets Groups Projects
Commit 38cda517 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Andreas Traczyk
Browse files

security: comply with Microsoft's compiler standards

Syntax patching in an effort to comply with
Microsoft's compiler standards.
This patch applies to source files in the security path.

Change-Id: Ifd52c510896837a21006cba89ed4a8683eaa43dd
Tuleap: #902
parent c8398f4d
No related branches found
No related tags found
No related merge requests found
...@@ -46,8 +46,8 @@ class IceSocket; ...@@ -46,8 +46,8 @@ class IceSocket;
} // namespace ring } // namespace ring
namespace dht { namespace crypto { namespace dht { namespace crypto {
class Certificate; struct Certificate;
class PrivateKey; struct PrivateKey;
}} // namespace dht::crypto }} // namespace dht::crypto
namespace ring { namespace tls { namespace ring { namespace tls {
...@@ -65,6 +65,10 @@ public: ...@@ -65,6 +65,10 @@ public:
DhParams() = default; DhParams() = default;
DhParams(DhParams&&) = default; DhParams(DhParams&&) = default;
DhParams& operator =(const DhParams&){
return *this;
}
/** Take ownership of gnutls_dh_params */ /** Take ownership of gnutls_dh_params */
explicit DhParams(gnutls_dh_params_t p) : params_(p, gnutls_dh_params_deinit) {}; explicit DhParams(gnutls_dh_params_t p) : params_(p, gnutls_dh_params_deinit) {};
......
...@@ -60,6 +60,10 @@ ...@@ -60,6 +60,10 @@
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#ifdef WIN32_NATIVE
#include "windirent.h"
#endif
namespace ring { namespace tls { namespace ring { namespace tls {
//Map the internal ring Enum class of the exported names //Map the internal ring Enum class of the exported names
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment