summaryrefslogtreecommitdiff
path: root/lib/server/SSLLib.h
blob: cdff4f042e6b1afc981c120bc230d042fb1ee27b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// --------------------------------------------------------------------------
//
// File
//		Name:    SSLLib.h
//		Purpose: Utility functions for dealing with the OpenSSL library
//		Created: 2003/08/06
//
// --------------------------------------------------------------------------

#ifndef SSLLIB__H
#define SSLLIB__H

#ifndef NDEBUG
	extern bool SSLLib__TraceErrors;
	#define SET_DEBUG_SSLLIB_TRACE_ERRORS {SSLLib__TraceErrors = true;}
#else
	#define SET_DEBUG_SSLLIB_TRACE_ERRORS
#endif


// --------------------------------------------------------------------------
//
// Namespace
//		Name:    SSLLib
//		Purpose: Utility functions for dealing with the OpenSSL library
//		Created: 2003/08/06
//
// --------------------------------------------------------------------------
namespace SSLLib
{
	void Initialise();
	void LogError(const char *ErrorDuringAction);
};

#endif // SSLLIB__H