summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-01-18 22:57:11 +0200
committerToomas Soome <tsoome@me.com>2019-04-10 09:10:19 +0300
commitd659c726b2a72b51ac2dc9a7f6878463fc070c87 (patch)
tree055e388b55819c1bc73b876d804b71f66152cc03
parent2667222682da9a362b1246a1e39cdaf1f38cb56e (diff)
downloadillumos-joyent-d659c726b2a72b51ac2dc9a7f6878463fc070c87.tar.gz
10659 sha2: NULL pointer errors
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/uts/common/crypto/io/sha2_mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/crypto/io/sha2_mod.c b/usr/src/uts/common/crypto/io/sha2_mod.c
index 301a97c868..23c73d1909 100644
--- a/usr/src/uts/common/crypto/io/sha2_mod.c
+++ b/usr/src/uts/common/crypto/io/sha2_mod.c
@@ -220,7 +220,7 @@ static crypto_provider_info_t sha2_prov_info = {
sha2_mech_info_tab
};
-static crypto_kcf_provider_handle_t sha2_prov_handle = NULL;
+static crypto_kcf_provider_handle_t sha2_prov_handle = 0;
int
_init()