| Revision 3096,
856 bytes
checked in by chris, 4 weeks ago
(diff) |
|
Move LogError? out of server/SSLLib so we can use it in Crypto.
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | // -------------------------------------------------------------------------- |
|---|
| 2 | // |
|---|
| 3 | // File |
|---|
| 4 | // Name: SSLLib.h |
|---|
| 5 | // Purpose: Utility functions for dealing with the OpenSSL library |
|---|
| 6 | // Created: 2003/08/06 |
|---|
| 7 | // |
|---|
| 8 | // -------------------------------------------------------------------------- |
|---|
| 9 | |
|---|
| 10 | #ifndef SSLLIB__H |
|---|
| 11 | #define SSLLIB__H |
|---|
| 12 | |
|---|
| 13 | #ifndef BOX_RELEASE_BUILD |
|---|
| 14 | extern bool SSLLib__TraceErrors; |
|---|
| 15 | #define SET_DEBUG_SSLLIB_TRACE_ERRORS {SSLLib__TraceErrors = true;} |
|---|
| 16 | #else |
|---|
| 17 | #define SET_DEBUG_SSLLIB_TRACE_ERRORS |
|---|
| 18 | #endif |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | // -------------------------------------------------------------------------- |
|---|
| 22 | // |
|---|
| 23 | // Namespace |
|---|
| 24 | // Name: SSLLib |
|---|
| 25 | // Purpose: Utility functions for dealing with the OpenSSL library |
|---|
| 26 | // Created: 2003/08/06 |
|---|
| 27 | // |
|---|
| 28 | // -------------------------------------------------------------------------- |
|---|
| 29 | namespace SSLLib |
|---|
| 30 | { |
|---|
| 31 | void Initialise(); |
|---|
| 32 | }; |
|---|
| 33 | |
|---|
| 34 | #endif // SSLLIB__H |
|---|
| 35 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.