summaryrefslogtreecommitdiff
path: root/lib/gnutls_kx.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-02-18 10:41:20 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-02-18 10:56:10 +0100
commitff715b55a4da5dd6e8fe9dd419c3982f7db22332 (patch)
treefecc39ff57a11555ea97e8a34207a4e0b43fa4b1 /lib/gnutls_kx.c
parentb46cd7664120a2b7aeb3d1e01df328ea1e730788 (diff)
downloadgnutls-ff715b55a4da5dd6e8fe9dd419c3982f7db22332.tar.gz
Simplified _gnutls_recv_handshake().
Diffstat (limited to 'lib/gnutls_kx.c')
-rw-r--r--lib/gnutls_kx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_kx.c b/lib/gnutls_kx.c
index d105c166a7..7c390f0ec1 100644
--- a/lib/gnutls_kx.c
+++ b/lib/gnutls_kx.c
@@ -452,7 +452,7 @@ _gnutls_recv_server_kx_message (gnutls_session_t session)
uint8_t *data = NULL;
int datasize;
int ret = 0;
- Optional optflag = MANDATORY_PACKET;
+ optional_t optflag = MANDATORY_PACKET;
if (session->internals.auth_struct->gnutls_process_server_kx != NULL)
{