diff --git a/src/john.c b/src/john.c index 7eb2fa1..c4d81b7 100644 --- a/src/john.c +++ b/src/john.c @@ -99,6 +99,8 @@ extern struct fmt_main fmt_MD5gen; #if OPENSSL_VERSION_NUMBER >= 0x10000000 extern struct fmt_main fmt_django; +#endif +#if OPENSSL_VERSION_NUMBER >= 0x10001000 extern struct fmt_main fmt_truecrypt; extern struct fmt_main fmt_truecrypt_sha512; extern struct fmt_main fmt_truecrypt_whirlpool; @@ -224,6 +226,8 @@ static void john_register_all(void) #if OPENSSL_VERSION_NUMBER >= 0x10000000 john_register_one(&fmt_django); +#endif +#if OPENSSL_VERSION_NUMBER >= 0x10001000 john_register_one(&fmt_truecrypt); john_register_one(&fmt_truecrypt_sha512); john_register_one(&fmt_truecrypt_whirlpool); diff --git a/src/truecrypt_fmt.c b/src/truecrypt_fmt.c index 6cdaf8e..c82bad8 100644 --- a/src/truecrypt_fmt.c +++ b/src/truecrypt_fmt.c @@ -15,7 +15,7 @@ * (This is a heavily cut-down "BSD license".) */ #include -#if OPENSSL_VERSION_NUMBER >= 0x10000000 +#if OPENSSL_VERSION_NUMBER >= 0x10001000 #include #include "arch.h" @@ -424,4 +424,4 @@ struct fmt_main fmt_truecrypt_whirlpool = { } }; -#endif \ No newline at end of file +#endif