diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-09-21 14:59:12 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-09-21 14:59:12 +0100 |
commit | 11e50a9f8219382b766c3ed5a217eb50bdafa89d (patch) | |
tree | 7954834fb7137468b919253419fb2003e74a3188 /src/rspamadm | |
parent | 4ccd25c56d4875d8f719bd3487aec27c7f8ae31c (diff) | |
download | rspamd-11e50a9f8219382b766c3ed5a217eb50bdafa89d.tar.gz rspamd-11e50a9f8219382b766c3ed5a217eb50bdafa89d.zip |
[Rework] Allow more flexible keypair encodingvstakhov-keypair-encoding
Diffstat (limited to 'src/rspamadm')
-rw-r--r-- | src/rspamadm/signtool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rspamadm/signtool.c b/src/rspamadm/signtool.c index ddc3d45df..6d60e6700 100644 --- a/src/rspamadm/signtool.c +++ b/src/rspamadm/signtool.c @@ -366,7 +366,8 @@ rspamadm_sign_file(const char *fname, struct rspamd_cryptobox_keypair *kp) } else { b32_pk = rspamd_keypair_print(kp, - RSPAMD_KEYPAIR_PUBKEY | RSPAMD_KEYPAIR_BASE32); + RSPAMD_KEYPAIR_ENCODING_DEFAULT, + RSPAMD_KEYPAIR_PUBKEY); if (b32_pk) { rspamd_fprintf(pub_fp, "%v", b32_pk); |