diff options
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] |