projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added kdenlive
[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 a0d78bc2d5298863b02a42276c6d635ae6519092..27b52d9624c11d4ad4b7271f38dbfc1fa64829de 100644
(file)
--- a/
nucleus/library/crypto/ssl_init.h
+++ b/
nucleus/library/crypto/ssl_init.h
@@
-18,6
+18,8
@@
#include <basis/byte_array.h>
#include <mathematics/chaos.h>
#include <basis/byte_array.h>
#include <mathematics/chaos.h>
+#include <openssl/opensslv.h>
+
namespace crypto {
//! provides some initialization for the RSA and blowfish crypto.
namespace crypto {
//! provides some initialization for the RSA and blowfish crypto.
@@
-29,11
+31,9
@@
namespace crypto {
*/
// we define NEWER_OPENSSL for those places where we're using more recent versions.
*/
// we define NEWER_OPENSSL for those places where we're using more recent versions.
+// this forces the code to choose newer methods over deprecated ones.
#if OPENSSL_VERSION_NUMBER > 0x10100000L
#define NEWER_OPENSSL
#if OPENSSL_VERSION_NUMBER > 0x10100000L
#define NEWER_OPENSSL
-//hmmm: to be cleaned up; should assume only new ssl from now on.
-#else
-// #define OLDER_OPENSSL
#endif
class ssl_init : public virtual basis::nameable
#endif
class ssl_init : public virtual basis::nameable