summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2012-05-15 13:18:42 +0300
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2012-05-15 13:18:42 +0300
commit22e4b62e03da4290f0a40739914e4d0257990d50 (patch)
tree189fa89f8104578f49995870f0decd93b5327b0a /extra
parent375afcf1df5e5227e1f1835f1106b496c2ff8b95 (diff)
parente4e19015692e727be655ce287f8cd6018d7fc6b2 (diff)
downloadmariadb-git-22e4b62e03da4290f0a40739914e4d0257990d50.tar.gz
merge 5.1->5.5
Diffstat (limited to 'extra')
-rw-r--r--extra/yassl/taocrypt/src/asn.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/yassl/taocrypt/src/asn.cpp b/extra/yassl/taocrypt/src/asn.cpp
index a502666d15b..5ec4cac1c44 100644
--- a/extra/yassl/taocrypt/src/asn.cpp
+++ b/extra/yassl/taocrypt/src/asn.cpp
@@ -758,6 +758,10 @@ void CertDecoder::GetName(NameType nt)
while (source_.get_index() < length) {
GetSet();
+ if (source_.GetError().What() == SET_E) {
+ source_.SetError(NO_ERROR_E); // extensions may only have sequence
+ source_.prev();
+ }
GetSequence();
byte b = source_.next();