Skip to content

Commit

Permalink
Make signing with ECDSA possible for rpms
Browse files Browse the repository at this point in the history
This just adds the tag definitions. Should have been in
commit c0ee744
  • Loading branch information
mlschroe committed Jun 19, 2024
1 parent 51c1562 commit cb100c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
#define RPMSIGTAG_GPG 1005

/* RPM constants */
static const int pubtag[] = { RPMSIGTAG_GPG, RPMSIGTAG_PGP, RPMSIGTAG_GPG };
static const int pubtagh[] = { RPMSIGTAG_DSA, RPMSIGTAG_RSA, RPMSIGTAG_DSA }; /* header only tags */
static const int pubtag[] = { RPMSIGTAG_GPG, RPMSIGTAG_PGP, RPMSIGTAG_GPG, RPMSIGTAG_GPG };
static const int pubtagh[] = { RPMSIGTAG_DSA, RPMSIGTAG_RSA, RPMSIGTAG_DSA, RPMSIGTAG_DSA }; /* header only tags */

static inline u32
getbe4c(const unsigned char *p)
Expand Down

0 comments on commit cb100c6

Please sign in to comment.