aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/stack
diff options
context:
space:
mode:
authorstephen <stephen>1998-12-31 00:59:02 +0000
committerstephen <stephen>1998-12-31 00:59:02 +0000
commite9b8eb315556eedb77e5cff818f798d5065a31c6 (patch)
treec4ef5c6a6d73a787612d3beb240cffb2e05f930d /crypto/stack
parent88fce97953e0bdafbe8f8538f074cb778777bb9c (diff)
downloadopenssl-e9b8eb315556eedb77e5cff818f798d5065a31c6.tar.gz
Fix for sk_insert bug: it never worked properly.
Allow explicit tag asn macros to handle indefinite length constructed stuff: without this certain "certificates" can't be read in.
Diffstat (limited to 'crypto/stack')
-rw-r--r--crypto/stack/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/stack/stack.c b/crypto/stack/stack.c
index c426253072..1c0a8bdda8 100644
--- a/crypto/stack/stack.c
+++ b/crypto/stack/stack.c
@@ -161,7 +161,7 @@ int loc;
f=(char **)st->data;
t=(char **)&(st->data[1]);
- for (i=st->num; i>loc; i--)
+ for (i=st->num; i>=loc; i--)
t[i]=f[i];
#ifdef undef /* no memmove on sunos :-( */