summaryrefslogtreecommitdiffstats
path: root/crypto/rand
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rand')
-rw-r--r--crypto/rand/rand.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/rand/rand.h b/crypto/rand/rand.h
index 6f544994ce..ac6c021763 100644
--- a/crypto/rand/rand.h
+++ b/crypto/rand/rand.h
@@ -71,6 +71,10 @@
extern "C" {
#endif
+#if defined(OPENSSL_FIPS)
+#define FIPS_RAND_SIZE_T size_t
+#endif
+
/* Already defined in ossl_typ.h */
/* typedef struct rand_meth_st RAND_METHOD; */