From 22d1087e16cff731d27c890f84757652d98303c1 Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Wed, 8 Feb 2006 19:16:33 +0000 Subject: backport recent changes from the cvs head --- crypto/err/err.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/err') diff --git a/crypto/err/err.c b/crypto/err/err.c index e084714383..72e3f3a26c 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -1108,7 +1108,7 @@ int ERR_pop_to_mark(void) { err_clear(es,es->top); es->top-=1; - if (es->top == -1) es->top=ERR_NUM_ERRORS; + if (es->top == -1) es->top=ERR_NUM_ERRORS-1; } if (es->bottom == es->top) return 0; -- cgit v1.2.3