mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
BUG/MINOR: ssl: do not set the aead_tag flags in sample_conv_aes_gcm()
This was not useful and was using uninitialized value. Introduced with the commit08ac28237
("MINOR: Add aes_gcm_enc converter"). Must be backported wherever the commit08ac28237
was backported.
This commit is contained in:
parent
d7610e6dde
commit
0091692d97
@ -393,7 +393,6 @@ static int sample_conv_aes_gcm(const struct arg *arg_p, struct sample *smp, void
|
||||
|
||||
aead_tag.data.u.str.data = ret;
|
||||
aead_tag.data.type = SMP_T_STR;
|
||||
aead_tag.flags &= ~SMP_F_CONST;
|
||||
|
||||
if (!var_set(arg_p[3].data.var.name_hash, arg_p[3].data.var.scope, &aead_tag,
|
||||
(arg_p[3].data.var.scope == SCOPE_PROC) ? VF_COND_IFEXISTS : 0)) {
|
||||
|
Loading…
Reference in New Issue
Block a user