crypto: Move USER_CREATABLE to secret_common base class
commit31b6aefdbd9d2fe45c25e5236e1cc363229cb96c
authorKevin Wolf <kwolf@redhat.com>
Mon, 30 Nov 2020 10:56:12 +0000 (30 11:56 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 29 Jan 2021 17:07:53 +0000 (29 17:07 +0000)
treee32fd4218d5c65dbb1bd40f8b104b1a7679cceb5
parent8573431b9c83a18a35d69e74d14f5055a07b23fc
crypto: Move USER_CREATABLE to secret_common base class

Instead of duplicating the code for user creatable objects in secret and
secret_keyring, move it to the common base clase secret_common. As the
base class is abstract, it won't become user creatable itself.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
crypto/secret.c
crypto/secret_common.c
crypto/secret_keyring.c