* hostaddr.c (krb5_os_hostaddr): Set magic number in structure.
* full_ipadr.c (krb5_make_full_ipaddr): Set magic number in structure.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7502
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Feb 22 13:16:16 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * Makefile.in (check-unix): Set LD_LIBRARY_PATH for kdb5_anadd.
+
+ * hostaddr.c (krb5_os_hostaddr): Set magic number in structure.
+
+ * full_ipadr.c (krb5_make_full_ipaddr): Set magic number in structure.
+
Sat Feb 17 00:05:38 1996 Theodore Y. Ts'o <tytso@pao.MIT.EDU>
* def_realm.c (krb5_get_default_realm): If the configuration file
echo '[realms]' >> ./t_an.conf
echo 'r = {' >> ./t_an.conf
if test -r ../../../admin/aname/kdb5_anadd ; then \
+ LD_LIBRARY_PATH=$(TOPLIBD) ; export LD_LIBRARY_PATH ; \
../../../admin/aname/kdb5_anadd -a -n ./t_an p/i/i/i@r piii; \
../../../admin/aname/kdb5_anadd -a -n ./t_an p/a/b/c@r pabc; \
echo 'auth_to_local = DB:./t_an' >> ./t_an.conf; \
if (!(retaddr = (krb5_address *)malloc(sizeof(*retaddr)))) {
return ENOMEM;
}
+ retaddr->magic = KV5M_ADDRESS;
retaddr->addrtype = ADDRTYPE_ADDRPORT;
retaddr->length = sizeof(smushaddr)+ sizeof(smushport) +
2*sizeof(temptype) + 2*sizeof(templength);
retval = ENOMEM;
goto errout;
}
+ addrs[i]->magic = KV5M_ADDRESS;
addrs[i]->addrtype = hp->h_addrtype;
addrs[i]->length = hp->h_length;
addrs[i]->contents = (unsigned char *)malloc(addrs[i]->length);