Skip to content

Commit f62eeb5

Browse files
committed
NA OFI: ensure domain auth key remains valid
1 parent 2b6ce86 commit f62eeb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/na/na_ofi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5220,7 +5220,7 @@ na_ofi_domain_open(const struct na_ofi_fabric *na_ofi_fabric,
52205220
NA_NOMEM, "Could not allocate auth_key");
52215221
memcpy(na_ofi_domain->auth_key, &base_auth_key, sizeof(base_auth_key));
52225222

5223-
domain_attr->auth_key = (void *) &base_auth_key;
5223+
domain_attr->auth_key = (void *) na_ofi_domain->auth_key;
52245224
domain_attr->auth_key_size = auth_key_size;
52255225
}
52265226

0 commit comments

Comments
 (0)