Make DH opaque
[openssl.git] / apps / s_cb.c
index b75ff31025d7fcf946bceafe33060bb0fb907826..49f3acd65f81200a65373db1e6f7dfe8f122a0cd 100644 (file)
@@ -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