diff options
Diffstat (limited to 'src/lib/libcrypto/cast/c_skey.c')
| -rw-r--r-- | src/lib/libcrypto/cast/c_skey.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/cast/c_skey.c b/src/lib/libcrypto/cast/c_skey.c index cb6bf9fee3..76e40005c9 100644 --- a/src/lib/libcrypto/cast/c_skey.c +++ b/src/lib/libcrypto/cast/c_skey.c | |||
| @@ -56,7 +56,6 @@ | |||
| 56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <openssl/crypto.h> | ||
| 60 | #include <openssl/cast.h> | 59 | #include <openssl/cast.h> |
| 61 | #include "cast_lcl.h" | 60 | #include "cast_lcl.h" |
| 62 | #include "cast_s.h" | 61 | #include "cast_s.h" |
| @@ -72,14 +71,8 @@ | |||
| 72 | #define S5 CAST_S_table5 | 71 | #define S5 CAST_S_table5 |
| 73 | #define S6 CAST_S_table6 | 72 | #define S6 CAST_S_table6 |
| 74 | #define S7 CAST_S_table7 | 73 | #define S7 CAST_S_table7 |
| 74 | |||
| 75 | void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data) | 75 | void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data) |
| 76 | #ifdef OPENSSL_FIPS | ||
| 77 | { | ||
| 78 | fips_cipher_abort(CAST); | ||
| 79 | private_CAST_set_key(key, len, data); | ||
| 80 | } | ||
| 81 | void private_CAST_set_key(CAST_KEY *key, int len, const unsigned char *data) | ||
| 82 | #endif | ||
| 83 | { | 76 | { |
| 84 | CAST_LONG x[16]; | 77 | CAST_LONG x[16]; |
| 85 | CAST_LONG z[16]; | 78 | CAST_LONG z[16]; |
