-.\" $OpenBSD: DH_generate_parameters.3,v 1.6 2016/12/10 22:22:59 schwarze Exp $
+.\" $OpenBSD: DH_generate_parameters.3,v 1.7 2017/06/10 13:10:52 schwarze Exp $
.\" OpenSSL 05ea606a May 20 20:52:46 2016 -0400
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 10 2016 $
+.Dd $Mdocdate: June 10 2017 $
.Dt DH_GENERATE_PARAMETERS 3
.Os
.Sh NAME
.Fo DH_generate_parameters
.Fa "int prime_len"
.Fa "int generator"
-.Fa "void (*callback)(int"
-.Fa int
-.Fa "void *)"
+.Fa "void (*callback)(int, int, void *)"
.Fa "void *cb_arg"
.Fc
.Sh DESCRIPTION