summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-06-16 13:40:22 +0000
committerSimon Josefsson <simon@josefsson.org>2006-06-16 13:40:22 +0000
commit8f51d2e4de869d5170c2a2ef8759797865cce66e (patch)
treebcace88ea4c4dd348dec1d0b483268204202c1c5
parent3a5c05296a300db32ce565df6af62035e5b6fb8f (diff)
downloadgnutls-8f51d2e4de869d5170c2a2ef8759797865cce66e.tar.gz
Fix prototype.
-rw-r--r--includes/gnutls/extra.h25
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);