encrypt_delay

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3504 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-09-18 15:12:02 +00:00
parent 21a372e534
commit b9ef384206

View File

@@ -938,6 +938,18 @@ void encrypt_wait(void)
return;
}
int
encrypt_delay(void)
{
if(!havesessionkey ||
(I_SUPPORT_ENCRYPT & remote_supports_decrypt) == 0 ||
(I_SUPPORT_DECRYPT & remote_supports_encrypt) == 0)
return 0;
if(!(encrypt_output && decrypt_input))
return 1;
return 0;
}
void
encrypt_debug(int mode)
{