Skip to content

Commit 9f3b05e

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 2485c49 commit 9f3b05e

7 files changed

Lines changed: 349 additions & 255 deletions

File tree

libnvme/src/nvme/fabrics.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,8 @@ static int build_options(nvme_host_t h, nvme_ctrl_t c, char **argstr)
732732
ctrlkey = nvme_ctrl_get_dhchap_key(c);
733733

734734
if (cfg->tls) {
735-
ret = __nvme_import_keys_from_config(h, c, &keyring_id, &key_id);
735+
ret = __nvme_import_keys_from_config(h, c,
736+
&keyring_id, &key_id);
736737
if (ret)
737738
return ret;
738739

0 commit comments

Comments
 (0)