projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added flag for older openssls
[feisty_meow.git]
/
nucleus
/
library
/
crypto
/
ssl_init.h
diff --git
a/nucleus/library/crypto/ssl_init.h
b/nucleus/library/crypto/ssl_init.h
index 9ea05d79a7fb23ede8b30b924de65f01ea1e5be6..a0d78bc2d5298863b02a42276c6d635ae6519092 100644
(file)
--- a/
nucleus/library/crypto/ssl_init.h
+++ b/
nucleus/library/crypto/ssl_init.h
@@
-28,13
+28,13
@@
namespace crypto {
very bottom and it will be managed globally for the entire program.
*/
very bottom and it will be managed globally for the entire program.
*/
-//
// //we define NEWER_OPENSSL for those places where we're using openssl 1.1.1
.
-//// #if defined(_MSC_VER)
+//
we define NEWER_OPENSSL for those places where we're using more recent versions
.
+#if OPENSSL_VERSION_NUMBER > 0x10100000L
#define NEWER_OPENSSL
//hmmm: to be cleaned up; should assume only new ssl from now on.
#define NEWER_OPENSSL
//hmmm: to be cleaned up; should assume only new ssl from now on.
-
////
#else
-//
// //
#define OLDER_OPENSSL
-
////
#endif
+#else
+// #define OLDER_OPENSSL
+#endif
class ssl_init : public virtual basis::nameable
{
class ssl_init : public virtual basis::nameable
{