Skip to content

Commit 476de36

Browse files
committed
linux: add global context as first argument to crypto API
Add the global context to the crypto related API. This allows to issue warnings/errors via the global context. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 4fd6112 commit 476de36

7 files changed

Lines changed: 443 additions & 348 deletions

File tree

libnvme/src/nvme/fabrics.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,8 @@ static int build_options(nvme_host_t h, nvme_ctrl_t c, char **argstr)
748748
}
749749

750750
if (cfg->tls) {
751-
ret = __nvme_import_keys_from_config(h, c, &keyring_id, &key_id);
751+
ret = __nvme_import_keys_from_config(h, c,
752+
&keyring_id, &key_id);
752753
if (ret)
753754
return ret;
754755

0 commit comments

Comments
 (0)