diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-02-14 06:48:33 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-02-14 06:48:33 +0000 |
commit | 41383c7ccc7d3e76ebe430e98ed6543aef4f35ed (patch) | |
tree | 9acbbe211631440881e9952fc896f78509af07c0 /includes | |
parent | 28c71dcaa765087dd76309e699dd9b7fcaa31f24 (diff) | |
download | gnutls-41383c7ccc7d3e76ebe430e98ed6543aef4f35ed.tar.gz |
Spell out handshake types.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/gnutls/gnutls.h.in | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/includes/gnutls/gnutls.h.in b/includes/gnutls/gnutls.h.in index 966a23a102..095a1af1d8 100644 --- a/includes/gnutls/gnutls.h.in +++ b/includes/gnutls/gnutls.h.in @@ -202,15 +202,15 @@ extern "C" } gnutls_alert_description_t; typedef enum - { GNUTLS_HANDSHAKE_HELLO_REQUEST, - GNUTLS_HANDSHAKE_CLIENT_HELLO, - GNUTLS_HANDSHAKE_SERVER_HELLO, + { GNUTLS_HANDSHAKE_HELLO_REQUEST = 0, + GNUTLS_HANDSHAKE_CLIENT_HELLO = 1, + GNUTLS_HANDSHAKE_SERVER_HELLO = 2, GNUTLS_HANDSHAKE_CERTIFICATE_PKT = 11, - GNUTLS_HANDSHAKE_SERVER_KEY_EXCHANGE, - GNUTLS_HANDSHAKE_CERTIFICATE_REQUEST, - GNUTLS_HANDSHAKE_SERVER_HELLO_DONE, - GNUTLS_HANDSHAKE_CERTIFICATE_VERIFY, - GNUTLS_HANDSHAKE_CLIENT_KEY_EXCHANGE, + GNUTLS_HANDSHAKE_SERVER_KEY_EXCHANGE = 12, + GNUTLS_HANDSHAKE_CERTIFICATE_REQUEST = 13, + GNUTLS_HANDSHAKE_SERVER_HELLO_DONE = 14, + GNUTLS_HANDSHAKE_CERTIFICATE_VERIFY = 15, + GNUTLS_HANDSHAKE_CLIENT_KEY_EXCHANGE = 16, GNUTLS_HANDSHAKE_FINISHED = 20 } gnutls_handshake_description_t; |