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 /apps/ciphers.c | |
parent | a36a1a5146df87700eb8d3c7091cbd7106c958cf (diff) | |
download | openssl-f73e07cf420ddad22b6148d8cbe28daf84ccae2d.tar.gz |
Add type-safe STACKs and SETs.
Diffstat (limited to 'apps/ciphers.c')
-rw-r--r-- | apps/ciphers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/ciphers.c b/apps/ciphers.c index 867196e393..a62c5b0e8a 100644 --- a/apps/ciphers.c +++ b/apps/ciphers.c @@ -89,7 +89,7 @@ char **argv; SSL *ssl=NULL; char *ciphers=NULL; SSL_METHOD *meth=NULL; - STACK *sk; + STACK_OF(SSL_CIPHER) *sk; char buf[512]; BIO *STDout=NULL; @@ -167,10 +167,10 @@ char **argv; { sk=SSL_get_ciphers(ssl); - for (i=0; i<sk_num(sk); i++) + for (i=0; i<sk_SSL_CIPHER_num(sk); i++) { BIO_puts(STDout,SSL_CIPHER_description( - (SSL_CIPHER *)sk_value(sk,i), + sk_SSL_CIPHER_value(sk,i), buf,512)); } } |