summaryrefslogtreecommitdiff
path: root/lib/gnutls_int_compat.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-09-16 17:03:46 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-09-16 17:03:46 +0000
commitaebd77f98d9286d9f2b0de098a0102405b00be40 (patch)
treeb86e33798c458b444386d52e07a54eafebf7e058 /lib/gnutls_int_compat.c
parent3524ffac447702e2a0f1766ccdd6128fe0fc8f7e (diff)
downloadgnutls-aebd77f98d9286d9f2b0de098a0102405b00be40.tar.gz
replaced gnutls_handshake_get_direction() with gnutls_record_get_direction().
Diffstat (limited to 'lib/gnutls_int_compat.c')
-rw-r--r--lib/gnutls_int_compat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gnutls_int_compat.c b/lib/gnutls_int_compat.c
index 5f338bf1fd..c81cbb98d1 100644
--- a/lib/gnutls_int_compat.c
+++ b/lib/gnutls_int_compat.c
@@ -107,6 +107,11 @@ int gnutls_certificate_allocate_cred( gnutls_certificate_credentials *sc)
return gnutls_certificate_allocate_credentials( sc);
}
+#undef gnutls_handshake_get_direction
+int gnutls_handshake_get_direction(gnutls_session session) {
+ return gnutls_record_get_direction( session);
+}
+
/* nothing here */
#endif /* GNUTLS_BACKWARDS_COMPATIBLE */