projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change ENCRYPT to ENCRYPTION
[unix-history]
/
usr
/
src
/
lib
/
libtelnet
/
encrypt.c
diff --git
a/usr/src/lib/libtelnet/encrypt.c
b/usr/src/lib/libtelnet/encrypt.c
index
12841a1
..
c2b9015
100644
(file)
--- a/
usr/src/lib/libtelnet/encrypt.c
+++ b/
usr/src/lib/libtelnet/encrypt.c
@@
-6,7
+6,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)encrypt.c 5.
2
(Berkeley) %G%";
+static char sccsid[] = "@(#)encrypt.c 5.
3
(Berkeley) %G%";
#endif /* not lint */
/*
#endif /* not lint */
/*
@@
-29,7
+29,7
@@
static char sccsid[] = "@(#)encrypt.c 5.2 (Berkeley) %G%";
* or implied warranty.
*/
* or implied warranty.
*/
-#if defined(ENCRYPT)
+#if defined(ENCRYPT
ION
)
#define ENCRYPT_NAMES
#include <arpa/telnet.h>
#define ENCRYPT_NAMES
#include <arpa/telnet.h>
@@
-78,7
+78,7
@@
static long remote_supports_encrypt = 0;
static long remote_supports_decrypt = 0;
static Encryptions encryptions[] = {
static long remote_supports_decrypt = 0;
static Encryptions encryptions[] = {
-#if defined(DES_ENCRYPT)
+#if defined(DES_ENCRYPT
ION
)
{ "DES_CFB64", ENCTYPE_DES_CFB64,
cfb64_encrypt,
cfb64_decrypt,
{ "DES_CFB64", ENCTYPE_DES_CFB64,
cfb64_encrypt,
cfb64_decrypt,
@@
-646,6
+646,12
@@
encrypt_session_key(key, server)
while (ep->type) {
if (ep->session)
(*ep->session)(key, server);
while (ep->type) {
if (ep->session)
(*ep->session)(key, server);
+#ifdef notdef
+ if (!encrypt_output && autoencrypt && !server)
+ encrypt_start_output(ep->type);
+ if (!decrypt_input && autodecrypt && !server)
+ encrypt_send_request_start();
+#endif
++ep;
}
}
++ep;
}
}