When verifying a certificate chain make sure it is chain.
commita1b44f677aff32d6cfc7f494a47b8de86c81fb21
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 13 Jul 2012 16:02:13 +0000 (13 18:02 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 13 Jul 2012 16:03:45 +0000 (13 18:03 +0200)
treeaff90d0bcf0ce309d4684ac00ef528add361eef9
parent14c40c59ac375185f8f54aba49931f918832105e
When verifying a certificate chain make sure it is chain.

If the chain is interrupted (wrong) at some point then truncate,
only try to verify the correct part. Patch by David Woodhouse.
lib/x509/verify-high.c