summaryrefslogtreecommitdiffstats
path: root/crypto/stack/stack.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2000-05-31 17:35:11 +0000
committerGeoff Thorpe <geoff@openssl.org>2000-05-31 17:35:11 +0000
commite20d7d71677c6d56f9e486148a0d33cb639765eb (patch)
tree7a81c9beb21528cfbad297fa9eb6263dc03ebdaf /crypto/stack/stack.c
parentb108611622df60f6738862240360939beb46a07e (diff)
sk_value was also suffering from de-const-ification.
Also, add in a couple of missing declarations in pkcs7 code.
Diffstat (limited to 'crypto/stack/stack.c')
-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 8ab4302c2e..be132d5dea 100644
--- a/crypto/stack/stack.c
+++ b/crypto/stack/stack.c
@@ -285,7 +285,7 @@ int sk_num(const STACK *st)
return st->num;
}
-char *sk_value(STACK *st, int i)
+char *sk_value(const STACK *st, int i)
{
if(st == NULL) return NULL;
return st->data[i];