Thread (11 messages) 11 messages, 5 authors, 2008-06-03

Re: [PATCH] Fix corrupt TCP packets when options space overflows with MD5SIG enabled

From: Adam Langley <hidden>
Date: 2008-05-30 19:11:45

On Fri, May 30, 2008 at 12:02 PM, Ben Hutchings
[off-list ref] wrote:
Putting an #ifdef..#endif in the middle of an if () is a bit nasty.  Why not
define md5 and set it to 0 if CONFIG_TCP_MD5SIG is not set?  The compiler
should be able to optimise it away if it's always initialised to 0.
That's a good point, thanks. Followup patch in a second...



AGL

-- 
Adam Langley agl@imperialviolet.org http://www.imperialviolet.org
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help