| # | Line 31 | Line 31 | |
|---|---|---|
| 31 | #include <openssl/bn.h> | |
| 32 | #include <openssl/evp.h> | |
| 33 | #include <openssl/err.h> | |
| 34 | + | #include <openssl/opensslv.h> |
| 35 | ||
| 36 | #include "memory.h" | |
| 37 | #include "rsa.h" | |
| # | Line 136 | Line 137 | verify_private_key(void) | |
| 137 | ||
| 138 | if (mkey->version != key->version) | |
| 139 | { | |
| 140 | < | #if (OPENSSL_VERSION_NUMBER & 0x00907000) == 0x00907000 |
| 140 | > | #if (OPENSSL_VERSION_NUMBER >= 0x00907000) |
| 141 | ilog(L_CRIT, "Private key corrupted: version %li != version %li", | |
| 142 | mkey->version, key->version); | |
| 143 | #else | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |