X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Fcrypto%2Fssl_init.h;h=27b52d9624c11d4ad4b7271f38dbfc1fa64829de;hb=153c17d446ed35907abe06a8c4e2b5ab6510b5be;hp=a0d78bc2d5298863b02a42276c6d635ae6519092;hpb=4befeabc8786f4848166555a670b12e90758563b;p=feisty_meow.git diff --git a/nucleus/library/crypto/ssl_init.h b/nucleus/library/crypto/ssl_init.h index a0d78bc2..27b52d96 100644 --- a/nucleus/library/crypto/ssl_init.h +++ b/nucleus/library/crypto/ssl_init.h @@ -18,6 +18,8 @@ #include #include +#include + 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. +// this forces the code to choose newer methods over deprecated ones. #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