diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-09-24 22:09:51 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 22:09:51 +0600 |
commit | f8700e56ec5659f331f0aca0b28eec43a4e7cb33 (patch) | |
tree | 999c6c7bd2ea52fc5352ed03275f4cef0cfa80c7 /src/rspamadm/signtool.c | |
parent | 3dda59641af8826d50dd07bc82d67c9ffecef403 (diff) | |
parent | 464045f814b78b2d4f9ca20cc9e0a0a1b323ad8e (diff) | |
download | rspamd-f8700e56ec5659f331f0aca0b28eec43a4e7cb33.tar.gz rspamd-f8700e56ec5659f331f0aca0b28eec43a4e7cb33.zip |
Merge branch 'master' into vstakhov-utf8-mimevstakhov-utf8-mime
Diffstat (limited to 'src/rspamadm/signtool.c')
-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); |