code translation

Aug 23, 2011 at 2:08pm
In putty ssh.c source code
line 5645
s->K = dh_find_K(ssh->kex_ctx, s->f);

Can someone explain me what this code line means?

What does the arrow point right really means?

Thanks.
Last edited on Aug 23, 2011 at 2:08pm
Aug 23, 2011 at 2:18pm
Aug 23, 2011 at 3:04pm
closed account (D80DSL3A)
The "arrow point right" is the indirect member reference operator. s and ssh are pointers.
For example, s->K gets the value of the member K of the object pointed to by s.
Topic archived. No new replies allowed.