]> git.ipfire.org Git - thirdparty/squid.git/commit
author: Joe Crayne <oh.hellojoe@gmail.com>
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 26 Jun 2014 09:34:04 +0000 (12:34 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 26 Jun 2014 09:34:04 +0000 (12:34 +0300)
commit789bf81069981c3d91946195cf37767f3ea9f80f
treef0e0ae905e1b0ff63daf4cdde17696b5da027dd5
parente3b6f153e7759c99ed3fd9c43d11f4e4155d3b8b
author: Joe Crayne <oh.hellojoe@gmail.com>
Bug 3966:Add KeyEncipherment when ssl-bump substitues RSA for EC.

Libnss3, which is used by Firefox to verify the certificate chain, has
different requirements for RSA keys than it does for EC keys.  In particular,
RSA keys with the keyUsage extension, must set the KeyEncipherment flag.

I've attached a patch that will enable KeyEncipherment whenever ssl-bump
attempts to substitute an RSA key for an EC key that had a keyUsage extension.

This fix was brought to you by the Samizdat project.
http://samizdat.childrenofmay.org
src/ssl/gadgets.cc