Firefox connects with no trouble. Occurred both before and after 10.6.8 update. No trouble at any other website.
That narrows it down to Safari and Yahoo.
Go to your Safari menu bar click Safari / Preferences then select the Security tab. Click: Show Cookies
Delete all Yahoo cookies.
Now empty the Safari cache, from the menu bar, click Safari / Empty Cache.
Restart your Mac, try Safari / Yahoo.