diff options
Diffstat (limited to 'src/lib/libcrypto/rc2')
| -rw-r--r-- | src/lib/libcrypto/rc2/rc2_skey.c | 1 | ||||
| -rw-r--r-- | src/lib/libcrypto/rc2/rc2speed.c | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/rc2/rc2_skey.c b/src/lib/libcrypto/rc2/rc2_skey.c index 22f372f85c..9652865188 100644 --- a/src/lib/libcrypto/rc2/rc2_skey.c +++ b/src/lib/libcrypto/rc2/rc2_skey.c | |||
| @@ -58,6 +58,7 @@ | |||
| 58 | 58 | ||
| 59 | #include <openssl/rc2.h> | 59 | #include <openssl/rc2.h> |
| 60 | #include <openssl/crypto.h> | 60 | #include <openssl/crypto.h> |
| 61 | #include <openssl/fips.h> | ||
| 61 | #include "rc2_locl.h" | 62 | #include "rc2_locl.h" |
| 62 | 63 | ||
| 63 | static unsigned char key_table[256]={ | 64 | static unsigned char key_table[256]={ |
diff --git a/src/lib/libcrypto/rc2/rc2speed.c b/src/lib/libcrypto/rc2/rc2speed.c index 47d34b444e..4d0e1242ea 100644 --- a/src/lib/libcrypto/rc2/rc2speed.c +++ b/src/lib/libcrypto/rc2/rc2speed.c | |||
| @@ -102,10 +102,10 @@ OPENSSL_DECLARE_EXIT | |||
| 102 | #ifndef HZ | 102 | #ifndef HZ |
| 103 | #ifndef CLK_TCK | 103 | #ifndef CLK_TCK |
| 104 | #define HZ 100.0 | 104 | #define HZ 100.0 |
| 105 | #endif | 105 | #else /* CLK_TCK */ |
| 106 | #else /* CLK_TCK */ | ||
| 107 | #define HZ ((double)CLK_TCK) | 106 | #define HZ ((double)CLK_TCK) |
| 108 | #endif | 107 | #endif /* CLK_TCK */ |
| 108 | #endif /* HZ */ | ||
| 109 | 109 | ||
| 110 | #define BUFSIZE ((long)1024) | 110 | #define BUFSIZE ((long)1024) |
| 111 | long run=0; | 111 | long run=0; |
