KEYS: Merge the type-specific data with the payload data
[deliverable/linux.git] / net / ceph / ceph_common.c
index 54a00d66509e748d47068a664bc14585166cbd97..78f098a20796d7dd0d71b364c5de3d99239dc4ac 100644 (file)
@@ -318,7 +318,7 @@ static int get_secret(struct ceph_crypto_key *dst, const char *name) {
                goto out;
        }
 
-       ckey = ukey->payload.data;
+       ckey = ukey->payload.data[0];
        err = ceph_crypto_key_clone(dst, ckey);
        if (err)
                goto out_key;
This page took 0.029688 seconds and 5 git commands to generate.