diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/gnutls/extra.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/includes/gnutls/extra.h b/includes/gnutls/extra.h index 885d7904f6..55e5a76317 100644 --- a/includes/gnutls/extra.h +++ b/includes/gnutls/extra.h @@ -154,26 +154,27 @@ extern "C" gnutls_ia_permute_inner_secret (gnutls_session_t session, size_t session_keys_size, const char *session_keys); - extern int gnutls_ia_endphase_send (gnutls_session_t session, int final_p); + extern int gnutls_ia_endphase_send (gnutls_session_t session, + int final_p); extern int gnutls_ia_verify_endphase (gnutls_session_t session, const char *checksum); - extern ssize_t - gnutls_ia_send (gnutls_session_t session, const char *data, size_t datal); - extern ssize_t - gnutls_ia_recv (gnutls_session_t session, char *data, size_t datal); + extern ssize_t gnutls_ia_send (gnutls_session_t session, + const char *data, size_t sizeofdata); + extern ssize_t gnutls_ia_recv (gnutls_session_t session, + char *data, size_t sizeofdata); /* Utility stuff. */ - extern int - gnutls_ia_generate_challenge (gnutls_session_t session, - size_t buffer_size, char *buffer); - extern void - gnutls_ia_extract_inner_secret (gnutls_session_t session, char *buffer); + extern int gnutls_ia_generate_challenge (gnutls_session_t session, + size_t buffer_size, + char *buffer); + extern void gnutls_ia_extract_inner_secret (gnutls_session_t session, + char *buffer); /* Define whether inner phases are wanted. */ - extern void - gnutls_ia_enable (gnutls_session_t session, int allow_skip_on_resume); + extern void gnutls_ia_enable (gnutls_session_t session, + int allow_skip_on_resume); int gnutls_global_init_extra (void); |