diff options
author | Nils Larsch <nils@openssl.org> | 2005-04-07 22:53:35 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-04-07 22:53:35 +0000 |
commit | f763e0b5ae74c67795d096c9029b5c61e891e68a (patch) | |
tree | efcfbda8d8f60aa958c080a184b469e01e9e8713 /crypto/asn1 | |
parent | eb3eab20a86e3d06e949880e2a036a026dd1da91 (diff) |
make sure error queue is totally emptied
PR: 359
Diffstat (limited to 'crypto/asn1')
-rw-r--r-- | crypto/asn1/a_d2i_fp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_d2i_fp.c b/crypto/asn1/a_d2i_fp.c index 1356a0a260..9c307dcf4d 100644 --- a/crypto/asn1/a_d2i_fp.c +++ b/crypto/asn1/a_d2i_fp.c @@ -197,7 +197,7 @@ static int asn1_d2i_read_bio(BIO *in, BUF_MEM **pb) if (e != ASN1_R_TOO_LONG) goto err; else - ERR_get_error(); /* clear error */ + ERR_clear_error(); /* clear error */ } i=c.p-p;/* header length */ off+=i; /* end of data */ |