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:14 +0000 (18:53 +0100)
commitbddd6e349549ed18c28d2172d030fd32cf000071
tree8a5609a2a7ab8df66e0b285445abf85b58b94817
parent6fc530e6a0c88ab39d9840fcb47650ad4e471058
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