Skip to content

Commit

Permalink
Fix broken backwards compatibility backend numbers
Browse files Browse the repository at this point in the history
- when debian backend was merged it casued a change in backend numbering
  so this commit fixes the numbers as they were before
- this numbers are also in trustdb so it is affected as well

Signed-off-by: Radovan Sroka <rsroka@redhat.com>
  • Loading branch information
radosroka committed Jul 4, 2023
1 parent b27e069 commit 24fe850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/fapolicyd-backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "conf.h"
#include "llist.h"

typedef enum { SRC_UNKNOWN, SRC_RPM, SRC_DEB, SRC_FILE_DB } trust_src_t;
typedef enum { SRC_UNKNOWN, SRC_RPM, SRC_FILE_DB, SRC_DEB } trust_src_t;

// source, size, sha
#define DATA_FORMAT "%u %lu %64s"
Expand Down

0 comments on commit 24fe850

Please sign in to comment.