summaryrefslogtreecommitdiff
path: root/lib/auth_psk.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-08-13 12:45:47 +0200
committerSimon Josefsson <simon@josefsson.org>2007-08-13 12:45:47 +0200
commite835cfda700ed3d1c88e2c72a15dd445573d1b37 (patch)
tree3d218ff05cbeb1134f2e9762a0ddec0760f5ad4a /lib/auth_psk.c
parent33847ff6e41daeb269ba756def4d3316e0cef417 (diff)
downloadgnutls-e835cfda700ed3d1c88e2c72a15dd445573d1b37.tar.gz
Use *_t types consistently.
Diffstat (limited to 'lib/auth_psk.c')
-rw-r--r--lib/auth_psk.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/auth_psk.c b/lib/auth_psk.c
index 60c83873f5..f1ef0c1164 100644
--- a/lib/auth_psk.c
+++ b/lib/auth_psk.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2005 Free Software Foundation
+ * Copyright (C) 2005, 2007 Free Software Foundation
*
* Author: Nikos Mavroyanopoulos
*
@@ -61,10 +61,10 @@ const mod_auth_st psk_auth_struct = {
*/
int
_gnutls_set_psk_session_key (gnutls_session_t session,
- gnutls_datum * dh_secret)
+ gnutls_datum_t * dh_secret)
{
- gnutls_datum pwd_psk = { NULL, 0 };
- gnutls_datum *ppsk;
+ gnutls_datum_t pwd_psk = { NULL, 0 };
+ gnutls_datum_t *ppsk;
size_t dh_secret_size;
int ret;
@@ -198,7 +198,7 @@ _gnutls_proc_psk_client_kx (gnutls_session_t session, opaque * data,
{
ssize_t data_size = _data_size;
int ret;
- gnutls_datum username;
+ gnutls_datum_t username;
gnutls_psk_server_credentials_t cred;
psk_auth_info_t info;