mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-09 03:30:57 +02:00
linuxkm/module_hooks.c: fix flub in IntelRDseed64_r() ForceZero() call;
linuxkm/lkcapi_aes_glue.c: fix typo in linuxkm_test_aesgcm() error message.
This commit is contained in:
@@ -3639,7 +3639,7 @@ static int linuxkm_test_aesgcm(void)
|
||||
src = malloc(sizeof(struct scatterlist) * 2);
|
||||
|
||||
if (! src) {
|
||||
pr_err("error: malloc src failed,\n");
|
||||
pr_err("error: malloc src failed.\n");
|
||||
ret = MEMORY_E;
|
||||
goto test_gcm_end;
|
||||
}
|
||||
|
||||
@@ -472,7 +472,7 @@ static WC_INLINE int IntelRDseed64_r(word64* rnd)
|
||||
WC_SANITIZE_ENABLE();
|
||||
buf = 0;
|
||||
}
|
||||
wc_ForceZero(&buf, 0, sizeof buf);
|
||||
wc_ForceZero(&buf, sizeof buf);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user