crypto/secret: fix inconsequential errors.
commit861c50bf5db3c18f5cd74ea929d4e018fdcedc64
authorAlexey Krasikov <alex-krasikov@yandex-team.ru>
Wed, 15 Apr 2020 20:13:35 +0000 (15 23:13 +0300)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 7 May 2020 11:48:41 +0000 (7 12:48 +0100)
treed5255d5edb7fee43a18c5209b5cc9286dcbafbbd
parent569644f761f704901b70bd259762c60b7cb28634
crypto/secret: fix inconsequential errors.

Change condition from QCRYPTO_SECRET_FORMAT_RAW
to QCRYPTO_SECRET_FORMAT_BASE64 in if-operator, because
this is potential error if you add another format value.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Alexey Krasikov <alex-krasikov@yandex-team.ru>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
crypto/secret.c