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:53:04 +0000 (18:53 +0100)
commit3fc880ac5d1ce1aa019f5a0ef4c2ba32302d2e21
treeee9058cabcd08fb549b335f6f3402047749a8896
parent602b2790ca0eb3062badfb559ff77c8c8aff68d9
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