summaryrefslogtreecommitdiffstats
path: root/apps/s_cb.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-06 18:49:48 +0200
committerMatt Caswell <matt@openssl.org>2016-04-09 11:10:55 +0200
commit0aeddcfa61250a6c474c4f8b3533772a63192f1b (patch)
treed8ac8b14fc1bd8a365d522a0ecf0fc9999c01575 /apps/s_cb.c
parentAdd SSL_DANE typedef for consistency. (diff)
downloadopenssl-0aeddcfa61250a6c474c4f8b3533772a63192f1b.tar.xz
openssl-0aeddcfa61250a6c474c4f8b3533772a63192f1b.zip
Make DH opaque
Move the dh_st structure into an internal header file and provide relevant accessors for the internal fields. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/s_cb.c')
-rw-r--r--apps/s_cb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_cb.c b/apps/s_cb.c
index b75ff31025..49f3acd65f 100644
--- a/apps/s_cb.c
+++ b/apps/s_cb.c
@@ -1371,7 +1371,7 @@ static int security_callback_debug(const SSL *s, const SSL_CTX *ctx,
case SSL_SECOP_OTHER_DH:
{
DH *dh = other;
- BIO_printf(sdb->out, "%d", BN_num_bits(dh->p));
+ BIO_printf(sdb->out, "%d", DH_bits(dh));
break;
}
#endif