summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/uts/common/crypto/io/swrand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/crypto/io/swrand.c b/usr/src/uts/common/crypto/io/swrand.c
index dec74a9d8f..c5e5942398 100644
--- a/usr/src/uts/common/crypto/io/swrand.c
+++ b/usr/src/uts/common/crypto/io/swrand.c
@@ -101,7 +101,7 @@ static uint32_t previous_bytes[HASHSIZE/BYTES_IN_WORD]; /* prev random bytes */
static physmem_entsrc_t entsrc; /* Physical mem as an entropy source */
static timeout_id_t rnd_timeout_id;
static int snum_waiters;
-static crypto_kcf_provider_handle_t swrand_prov_handle = NULL;
+static crypto_kcf_provider_handle_t swrand_prov_handle = 0;
swrand_stats_t swrand_stats;
static int physmem_ent_init(physmem_entsrc_t *);