Maintain strict type discipline between the core and providers
[openssl.git] / providers / implementations / serializers / serializer_dh.c
index 2b616b2ef135771d614f7e59db6ab6a1432de310..df92017ba35e0c9aab7ad294e4e00bcc7eb5c7b8 100644 (file)
@@ -70,7 +70,7 @@ int ossl_prov_print_dh(BIO *out, DH *dh, enum dh_print_type type)
     if (p == NULL)
         goto null_err;
 
     if (p == NULL)
         goto null_err;
 
-    if (ossl_prov_bio_printf(out, "%s: (%d bit)\n", type_label, BN_num_bits(p))
+    if (BIO_printf(out, "%s: (%d bit)\n", type_label, BN_num_bits(p))
         <= 0)
         goto err;
     if (priv_key != NULL
         <= 0)
         goto err;
     if (priv_key != NULL