aboutsummaryrefslogtreecommitdiff
path: root/ks_mmap.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-03-21 23:04:59 -0400
committerPaul Selkirk <paul@psgd.org>2016-03-21 23:04:59 -0400
commit01f5452659c34e5232bcb534e14e45b0c430047e (patch)
treebeff8a4f0bfadf551517063aa7f91cff6673e433 /ks_mmap.c
parentcdaf07d30bd440cf3ee2f6615d044634734047bd (diff)
parentcf04c6c34994f545cbf509a6de4aed096e48aa61 (diff)
Merge branch 'master' into rpc
Diffstat (limited to 'ks_mmap.c')
-rw-r--r--ks_mmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ks_mmap.c b/ks_mmap.c
index 4c752ea..5eb2a13 100644
--- a/ks_mmap.c
+++ b/ks_mmap.c
@@ -168,6 +168,7 @@ hal_error_t hal_ks_get_kek(uint8_t *kek,
return err;
memcpy(kek, kekbuf, len);
+ *kek_len = len;
return HAL_OK;
}