diff options
author | Ben Laurie <ben@openssl.org> | 1999-04-12 17:23:57 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-04-12 17:23:57 +0000 |
commit | f73e07cf420ddad22b6148d8cbe28daf84ccae2d (patch) | |
tree | 3396fc9a31ba5a227211ea9e94600ddc4b4a58f2 /ssl/s3_both.c | |
parent | a36a1a5146df87700eb8d3c7091cbd7106c958cf (diff) |
Add type-safe STACKs and SETs.
Diffstat (limited to 'ssl/s3_both.c')
-rw-r--r-- | ssl/s3_both.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s3_both.c b/ssl/s3_both.c index 0dad8919c7..c3d660ff33 100644 --- a/ssl/s3_both.c +++ b/ssl/s3_both.c @@ -245,9 +245,9 @@ X509 *x; /* Thawte special :-) */ if (s->ctx->extra_certs != NULL) - for (i=0; i<sk_num(s->ctx->extra_certs); i++) + for (i=0; i<sk_X509_num(s->ctx->extra_certs); i++) { - x=(X509 *)sk_value(s->ctx->extra_certs,i); + x=sk_X509_value(s->ctx->extra_certs,i); n=i2d_X509(x,NULL); if (!BUF_MEM_grow(buf,(int)(n+l+3))) { |