Add a typedef for the construction function
[openssl.git] / ssl / statem / statem_clnt.c
index 1ea9d7512fd3710f882d207bbf0dc46f29292a80..08b1239d5788ee11298ea832192f9896409ae6f0 100644 (file)
@@ -512,8 +512,7 @@ WORK_STATE ossl_statem_client_post_work(SSL *s, WORK_STATE wst)
  *   0: Error
  */
 int ossl_statem_client_construct_message(SSL *s, WPACKET *pkt,
-                                         int (**confunc) (SSL *s, WPACKET *pkt),
-                                         int *mt)
+                                         confunc_f *confunc, int *mt)
 {
     OSSL_STATEM *st = &s->statem;