signing: Add #define OSTREE_SIGN_NAME_ED25519
Using `#define` or constants instead of strings helps avoid typos and encourages documentation.
This commit is contained in:
1 parent
654983ee31
commit
811082063c
5 files changed
+10
-7
No files matched your search
@@ -62,7 +62,7 @@ typedef struct
|
||||
_sign_type sign_types[] =
|
||||
{
|
||||
#if defined(HAVE_LIBSODIUM)
|
||||
{"ed25519", 0},
|
||||
{OSTREE_SIGN_NAME_ED25519, 0},
|
||||
#endif
|
||||
{"dummy", 0}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user