diff options
Diffstat (limited to 'ssl/s23_srvr.c')
-rw-r--r-- | ssl/s23_srvr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl/s23_srvr.c b/ssl/s23_srvr.c index bf5e112754..fa132166bd 100644 --- a/ssl/s23_srvr.c +++ b/ssl/s23_srvr.c @@ -256,7 +256,7 @@ SSL *s; if (s->options & SSL_OP_NON_EXPORT_FIRST) { - STACK *sk; + STACK_OF(SSL_CIPHER) *sk; SSL_CIPHER *c; int ne2,ne3; @@ -287,9 +287,9 @@ SSL *s; if (sk != NULL) { ne2=ne3=0; - for (j=0; j<sk_num(sk); j++) + for (j=0; j<sk_SSL_CIPHER_num(sk); j++) { - c=(SSL_CIPHER *)sk_value(sk,j); + c=sk_SSL_CIPHER_value(sk,j); if (!SSL_C_IS_EXPORT(c)) { if ((c->id>>24L) == 2L) |