Extension checking fixes.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 15 Apr 2014 17:48:54 +0000 (18:48 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 15 Apr 2014 17:52:50 +0000 (18:52 +0100)
commit5cd5e0219d2e9a8c1f2fec3d867f38179c3a86af
tree50356d018ad6be1cf5b156805d5d207db6c59cec
parent9c1d63540faa73494b88d63e2c33e4240ab41b57
Extension checking fixes.

When looking for an extension we need to set the last found
position to -1 to properly search all extensions.

PR#3309.
(cherry picked from commit 300b9f0b704048f60776881f1d378c74d9c32fbd)
crypto/x509v3/v3_purp.c