1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/security/ssh/files/patch-ag
Torsten Blum eb66565459 Add IPv6 support to ssh.
The IPv6 patch was obtained from the kame repository and has been
been writen by KIKUCHI Takahiro <kick@kyoto.wide.ad.jp>

Due to the whole mess with different patches it was necessary to include
both the IPv6 patch and patch-ssh-1.2.27-bsd.tty.chown in ${PATCHDIR}.
Since both patches modify the configure script it was also necessary
to rebuild it via autoconf from configure.in. I've decided to use
USE_AUTOCONF instead of including the re-build configure script in
${FILESDIR}

Obtained from:	KAME/WIDE
2000-01-14 19:37:39 +00:00

55 lines
1.4 KiB
Plaintext

*** auth-kerberos.c.orig Tue Jan 11 20:33:46 2000
--- auth-kerberos.c Tue Jan 11 20:33:38 2000
***************
*** 120,129 ****
--- 120,137 ----
debug("Kerberos invalid service name (%.100s).", server);
packet_send_debug("Kerberos invalid service name (%.100s).", server);
+ #ifdef krb5_xfree
krb5_xfree(server);
+ #else
+ free(server);
+ #endif
return 0;
}
+ #ifdef krb5_xfree
krb5_xfree(server);
+ #else
+ free(server);
+ #endif
/* Extract the users name from the ticket client principal */
problem = krb5_copy_principal(ssh_context, ticket->enc_part2->client,
***************
*** 159,165 ****
--- 167,177 ----
packet_put_string((char *) reply.data, reply.length);
packet_send();
packet_write_wait();
+ #ifdef krb5_xfree
krb5_xfree(reply.data);
+ #else
+ krb5_free_data_contents(ssh_context, &reply);
+ #endif
return 1;
}
#endif /* KRB5 */
***************
*** 177,183 ****
extern char *ticket;
static krb5_principal rcache_server = 0;
static krb5_rcache rcache;
! struct sockaddr_in local, foreign;
krb5_address *local_addr, *remote_addr;
int s;
--- 189,195 ----
extern char *ticket;
static krb5_principal rcache_server = 0;
static krb5_rcache rcache;
! struct sockaddr_storage local, foreign;
krb5_address *local_addr, *remote_addr;
int s;