crypto: fix getter of a QCryptoSecret's property
commit569644f761f704901b70bd259762c60b7cb28634
authorTong Ho <tong.ho@xilinx.com>
Thu, 9 Jan 2020 20:09:58 +0000 (9 12:09 -0800)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 7 May 2020 11:48:41 +0000 (7 12:48 +0100)
treef6a9e2477fccb6d376e2e571d0be142e5326fe44
parent609dd53df540edd72faee705205aceca9c42fea5
crypto: fix getter of a QCryptoSecret's property

This fixes the condition-check done by the "loaded" property
getter, such that the property returns true even when the
secret is loaded by the 'file' option.

Signed-off-by: Tong Ho <tong.ho@xilinx.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
crypto/secret.c