diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-08-06 20:00:47 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-08-06 20:00:47 +0000 |
commit | 88202507ec10b6ea0a5a1a5a16cb6803342a601f (patch) | |
tree | bd3192163c36bca435a1502d8166ffc59fc871e2 /lib/gnutls_handshake.h | |
parent | 645b83512a867ea3bb5b2cce432c679b0e2021d0 (diff) | |
download | gnutls-88202507ec10b6ea0a5a1a5a16cb6803342a601f.tar.gz |
several fixes. Added client authentication with x509PKI
Diffstat (limited to 'lib/gnutls_handshake.h')
-rw-r--r-- | lib/gnutls_handshake.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gnutls_handshake.h b/lib/gnutls_handshake.h index 983d0e88c8..9acae2b3fb 100644 --- a/lib/gnutls_handshake.h +++ b/lib/gnutls_handshake.h @@ -35,3 +35,6 @@ void _gnutls_set_client_random( GNUTLS_STATE state, uint8* random); int _gnutls_create_random( opaque* dst); int _gnutls_remove_unwanted_ciphersuites( GNUTLS_STATE state, GNUTLS_CipherSuite ** cipherSuites, int numCipherSuites); +#define set_adv_version( state, major, minor) \ + state->gnutls_internals.adv_version_major = data[pos]; \ + state->gnutls_internals.adv_version_minor = data[pos+1] |