summaryrefslogtreecommitdiffstats
path: root/lib/regex.c
diff options
context:
space:
mode:
authorpaul <paul>2006-01-17 17:26:25 +0000
committerpaul <paul>2006-01-17 17:26:25 +0000
commitce541bb1a9feaf1b5da40753236e22e5baf96e8f (patch)
tree3553db16c0cdb87c6da17eed27ca4d800c412b14 /lib/regex.c
parentbf7509dd729580f4e9a54493177598136e7a1e2f (diff)
downloadquagga-ce541bb1a9feaf1b5da40753236e22e5baf96e8f.tar.bz2
quagga-ce541bb1a9feaf1b5da40753236e22e5baf96e8f.tar.xz
[ripd] Fix verification of received MD5 authenticated packets
2006-01-17 Paul Jakma <paul.jakma@sun.com> * ripd.c: (rip_auth_md5) remove pdigest, not needed. Use a local buffer for the auth_str, where it can be properly nul padded. Do so, hence fixing MD5 authentication. Key looked up via key ring should be used in preference to the RIPv1 simple password, not other way around. No need to copy around digests, we can reference them directly. The auth_len received can't be trusted, some implementations lie (e.g. older ripd). (rip_auth_md5_ah_write) rename len local variable to doff to be consistent with other functions. (rip_auth_header_write) add the missing return. (rip_auth_md5_set) use the proper constructs to access stream.
Diffstat (limited to 'lib/regex.c')
0 files changed, 0 insertions, 0 deletions