diff options
author | stephen <stephen> | 1998-12-31 00:59:02 +0000 |
---|---|---|
committer | stephen <stephen> | 1998-12-31 00:59:02 +0000 |
commit | e9b8eb315556eedb77e5cff818f798d5065a31c6 (patch) | |
tree | c4ef5c6a6d73a787612d3beb240cffb2e05f930d /crypto/stack/stack.c | |
parent | 88fce97953e0bdafbe8f8538f074cb778777bb9c (diff) |
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/stack.c')
-rw-r--r-- | crypto/stack/stack.c | 2 |
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 :-( */ |