of the data stream and not the control stream to krb_mk_priv.
This would result in the occasional time out of bounds error when ftping
to the same machine. (mk_priv and rd_priv have some amusing
negating of timestamps depending on address and port of sockets).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12628
dc483132-0cff-0310-8789-
dd5450dbe970
+Tue Aug 22 17:10:39 2000 Ezra Peisach <epeisach@mit.edu>
+
+ * secure.h (myaddr): For secure data stream, pass the port number
+ of the data stream and not the control stream to krb_mk_priv.
+
2000-08-17 Ezra Peisach <epeisach@mit.edu>
* domacro.c: Compiler warning cleanups and fix the overflow fix to
#define CRED_DECL extern CREDENTIALS cred;
#define SESSION cred.session
-#define myaddr myctladdr
+#define myaddr data_addr
#define hisaddr hisdataaddr
#if (defined(__STDC__) || defined(__cplusplus) || defined(_MSDOS) || defined(_WIN32) || defined(KRB5_PROVIDE_PROTOTYPES)) && !defined(KRB5_NO_PROTOTYPES)
Tue Aug 22 11:37:35 2000 Ezra Peisach <epeisach@mit.edu>
+ * secure.h (myaddr): For secure data stream, pass the port number
+ of the data stream and not the control stream to krb_mk_priv.
+
* ftpd.c (auth_data): Iterate over all krb4 services instead of
trying to examine the srvtab file for a particular key (which
failes when falling back on the v5 keytab for des3 services).
#define CRED_DECL extern AUTH_DAT kdata;
#define SESSION &kdata.session
-#define myaddr ctrl_addr
+#define myaddr data_source
#define hisaddr data_dest