]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug fix: Current serial number generation code does not produce a stable serial numbe...
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 29 Feb 2012 21:12:18 +0000 (23:12 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 29 Feb 2012 21:12:18 +0000 (23:12 +0200)
commit5cc307f3d0b280897b5b2157ac8d736e2050eecb
tree570fe19c443a141ea7535d51760ccf13e18aaa7e
parentdb9b65ff83911427522006756739e7e92bf52aa0
Bug fix: Current serial number generation code does not produce a stable serial number for self-signed certificates

Squid always send the signing certificate to the ssl_crtd daemon even for
self-signed certificates because the signing certificate may used for cert
adaptation algorithms. The ssl_crtd currently ignore the signing certificate
in the case of self-signed certificates. This is has as result to
use a random number as serial number of generated certificate.

This patch also use 0 as serial number of the temporary intermediate certificate
used to generate the final serial number of the certificate, in the case of
signing certificate is not given.
src/ssl/crtd_message.cc
src/ssl/gadgets.cc