summaryrefslogtreecommitdiff
path: root/lib/gnutls_kx.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-05-09 17:20:40 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-06-03 19:40:27 +0200
commitc67a003f2467fa3daf7ca2b85247df80c24e0ea2 (patch)
tree8a15c4a4a5e635e624b56ebbd04434c84091bce8 /lib/gnutls_kx.c
parent96febfef5a80a4e128683663e3cdc4a50f8db78c (diff)
downloadgnutls-c67a003f2467fa3daf7ca2b85247df80c24e0ea2.tar.gz
Added initial PKCS #11 support. Certtool can now print lists of certificates
available in system.
Diffstat (limited to 'lib/gnutls_kx.c')
-rw-r--r--lib/gnutls_kx.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/gnutls_kx.c b/lib/gnutls_kx.c
index bec2ca34db..1173160fd3 100644
--- a/lib/gnutls_kx.c
+++ b/lib/gnutls_kx.c
@@ -95,15 +95,15 @@ generate_normal_master (gnutls_session_t session, int keep_premaster)
_gnutls_hard_log ("INT: PREMASTER SECRET[%d]: %s\n", PREMASTER.size,
_gnutls_bin2hex (PREMASTER.data, PREMASTER.size, buf,
- sizeof (buf)));
+ sizeof (buf), NULL));
_gnutls_hard_log ("INT: CLIENT RANDOM[%d]: %s\n", 32,
_gnutls_bin2hex (session->
security_parameters.client_random, 32,
- buf, sizeof (buf)));
+ buf, sizeof (buf), NULL));
_gnutls_hard_log ("INT: SERVER RANDOM[%d]: %s\n", 32,
_gnutls_bin2hex (session->
security_parameters.server_random, 32,
- buf, sizeof (buf)));
+ buf, sizeof (buf), NULL));
if (gnutls_protocol_get_version (session) == GNUTLS_SSL3)
{
@@ -147,7 +147,7 @@ generate_normal_master (gnutls_session_t session, int keep_premaster)
session->
security_parameters.extensions.
oprfi_client_len, buf,
- sizeof (buf)));
+ sizeof (buf), NULL));
_gnutls_hard_log ("INT: SERVER OPRFI[%d]: %s\n",
session->security_parameters.extensions.
oprfi_server_len,
@@ -157,7 +157,7 @@ generate_normal_master (gnutls_session_t session, int keep_premaster)
session->
security_parameters.extensions.
oprfi_server_len, buf,
- sizeof (buf)));
+ sizeof (buf), NULL));
memcpy (rnd, session->security_parameters.client_random,
GNUTLS_RANDOM_SIZE);
@@ -209,7 +209,7 @@ generate_normal_master (gnutls_session_t session, int keep_premaster)
_gnutls_hard_log ("INT: MASTER SECRET: %s\n",
_gnutls_bin2hex (session->
security_parameters.master_secret,
- GNUTLS_MASTER_SIZE, buf, sizeof (buf)));
+ GNUTLS_MASTER_SIZE, buf, sizeof (buf), NULL));
return ret;
}