forked from enlightenment/efl
efl net ssl constructor - remove double set of same var
all struct vars are set... one 2x. not a bug but pointless code in the src found by PVS studio
This commit is contained in:
parent
64dc6ab056
commit
16abe895c6
|
@ -306,7 +306,6 @@ _efl_net_ssl_context_efl_object_finalize(Eo *o, Efl_Net_Ssl_Context_Data *pd)
|
||||||
cfg.private_keys = &pd->private_keys;
|
cfg.private_keys = &pd->private_keys;
|
||||||
cfg.certificate_revocation_lists = &pd->certificate_revocation_lists;
|
cfg.certificate_revocation_lists = &pd->certificate_revocation_lists;
|
||||||
cfg.certificate_authorities = &pd->certificate_authorities;
|
cfg.certificate_authorities = &pd->certificate_authorities;
|
||||||
cfg.load_defaults = pd->load_defaults;
|
|
||||||
|
|
||||||
err = efl_net_ssl_ctx_setup(&pd->ssl_ctx, cfg);
|
err = efl_net_ssl_ctx_setup(&pd->ssl_ctx, cfg);
|
||||||
if (err)
|
if (err)
|
||||||
|
|
Loading…
Reference in New Issue