diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-25 12:22:43 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-25 12:22:43 +0100 |
commit | 0d0e9a7046cff4c7681d791a1275f906d4569d40 (patch) | |
tree | edfb2c8849219d7fd7073f9f8e44c818cc8473f7 /src/libcryptobox | |
parent | 85b5b1b4c50376a67be0a9adc03f04598626ec01 (diff) | |
download | rspamd-0d0e9a7046cff4c7681d791a1275f906d4569d40.tar.gz rspamd-0d0e9a7046cff4c7681d791a1275f906d4569d40.zip |
[Fix] Remove bogus G_LIKELY
Diffstat (limited to 'src/libcryptobox')
-rw-r--r-- | src/libcryptobox/cryptobox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c index e592eccdf..3139bb1c7 100644 --- a/src/libcryptobox/cryptobox.c +++ b/src/libcryptobox/cryptobox.c @@ -1544,7 +1544,7 @@ void rspamd_cryptobox_fast_hash_update (rspamd_cryptobox_fast_hash_state_t *st, const void *data, gsize len) { - if (G_LIKELY (st->type) == RSPAMD_CRYPTOBOX_T1HA) { + if (st->type == RSPAMD_CRYPTOBOX_T1HA) { t1ha_context_t *rst = (t1ha_context_t *) st->opaque; t1ha2_update (rst, data, len); } @@ -1614,7 +1614,7 @@ rspamd_cryptobox_fast_hash_final (rspamd_cryptobox_fast_hash_state_t *st) { guint64 ret; - if (G_LIKELY (st->type) == RSPAMD_CRYPTOBOX_T1HA) { + if (st->type == RSPAMD_CRYPTOBOX_T1HA) { t1ha_context_t *rst = (t1ha_context_t *) st->opaque; return t1ha2_final (rst, NULL); |