summaryrefslogtreecommitdiff
path: root/lib/crypto/CryptoUtils.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2012-04-28 18:11:21 +0000
committerChris Wilson <chris+github@qwirx.com>2012-04-28 18:11:21 +0000
commit9261f88d923cff5307de4d5465fe9f72f45ccd0a (patch)
tree9dc850a5447eecdda7fb780bd962d8198d391bf6 /lib/crypto/CryptoUtils.h
parentfcc32a449e27447f0d231a87325db4b3358f6767 (diff)
Move LogError out of server/SSLLib so we can use it in Crypto.
Diffstat (limited to 'lib/crypto/CryptoUtils.h')
-rw-r--r--lib/crypto/CryptoUtils.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/crypto/CryptoUtils.h b/lib/crypto/CryptoUtils.h
new file mode 100644
index 00000000..fe0e51a3
--- /dev/null
+++ b/lib/crypto/CryptoUtils.h
@@ -0,0 +1,27 @@
+// --------------------------------------------------------------------------
+//
+// File
+// Name: CryptoUtils.h
+// Purpose: Utility functions for dealing with the OpenSSL library
+// Created: 2012/04/26
+//
+// --------------------------------------------------------------------------
+
+#ifndef CRYPTOUTILS__H
+#define CRYPTOUTILS__H
+
+// --------------------------------------------------------------------------
+//
+// Namespace
+// Name: CryptoUtils
+// Purpose: Utility functions for dealing with the OpenSSL library
+// Created: 2003/08/06
+//
+// --------------------------------------------------------------------------
+namespace CryptoUtils
+{
+ std::string LogError(const std::string& rErrorDuringAction);
+};
+
+#endif // CRYPTOUTILS__H
+