]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/dh/dh_prn.c
Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call
[thirdparty/openssl.git] / crypto / dh / dh_prn.c
index 35cd1e923141630384fc115de636ba34493246e4..5d31254dcbc619637f3e8c36140956eabff919c1 100644 (file)
@@ -25,7 +25,7 @@ int DHparams_print_fp(FILE *fp, const DH *x)
     int ret;
 
     if ((b = BIO_new(BIO_s_file())) == NULL) {
-        DHerr(DH_F_DHPARAMS_PRINT_FP, ERR_R_BUF_LIB);
+        ERR_raise(ERR_LIB_DH, ERR_R_BUF_LIB);
         return 0;
     }
     BIO_set_fp(b, fp, BIO_NOCLOSE);