summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-01-22 13:26:15 +0200
committerToomas Soome <tsoome@me.com>2019-06-25 23:17:01 +0300
commit798d97d364cf412f7586e489b227851115381696 (patch)
tree3267be5cb8b7a642a819d9c7ca0aaf087393805a
parenta6313a9d1cea800172e9672443e1496d90d4fbcf (diff)
downloadillumos-joyent-798d97d364cf412f7586e489b227851115381696.tar.gz
11152 pkcs11_kernel: NULL pointer errors
Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/lib/pkcs11/pkcs11_kernel/common/kernelDigest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/pkcs11/pkcs11_kernel/common/kernelDigest.c b/usr/src/lib/pkcs11/pkcs11_kernel/common/kernelDigest.c
index 9b9ad981d5..b3b5550a28 100644
--- a/usr/src/lib/pkcs11/pkcs11_kernel/common/kernelDigest.c
+++ b/usr/src/lib/pkcs11/pkcs11_kernel/common/kernelDigest.c
@@ -611,7 +611,7 @@ C_DigestFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pDigest,
(void) pthread_mutex_unlock(&session_p->session_mutex);
ses_lock_held = B_FALSE;
rv = do_soft_digest(get_spp(&session_p->digest),
- NULL, NULL, NULL, pDigest, pulDigestLen, OP_FINAL);
+ NULL, NULL, 0, pDigest, pulDigestLen, OP_FINAL);
} else {
/*
* We end up here if an earlier C_DigestFinal() call