- Fix for non-recognised DSA keys from Arkadiusz Miskiewicz
<misiek@pld.org.pl>
This commit is contained in:
parent
accfeb3afe
commit
95fe91bd84
|
@ -1,6 +1,11 @@
|
||||||
|
20000513
|
||||||
|
- Fix for non-recognised DSA keys from Arkadiusz Miskiewicz
|
||||||
|
<misiek@pld.org.pl>
|
||||||
|
|
||||||
20000511
|
20000511
|
||||||
- Fix for prng_seed permissions checking from Lutz Jaenicke
|
- Fix for prng_seed permissions checking from Lutz Jaenicke
|
||||||
<Lutz.Jaenicke@aet.TU-Cottbus.DE>
|
<Lutz.Jaenicke@aet.TU-Cottbus.DE>
|
||||||
|
- "make host-key" fix for Irix
|
||||||
|
|
||||||
20000509
|
20000509
|
||||||
- OpenBSD CVS update
|
- OpenBSD CVS update
|
||||||
|
|
|
@ -140,8 +140,8 @@ install: manpages $(TARGETS)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
host-key: ssh-keygen
|
host-key: ssh-keygen
|
||||||
./ssh-keygen -b 1024 -f $(sysconfdir)/ssh_host_key -N ''
|
./ssh-keygen -b 1024 -f $(sysconfdir)/ssh_host_key -N ""
|
||||||
./ssh-keygen -d -f $(sysconfdir)/ssh_host_dsa_key -N ''
|
./ssh-keygen -d -f $(sysconfdir)/ssh_host_dsa_key -N ""
|
||||||
|
|
||||||
uninstallall: uninstall
|
uninstallall: uninstall
|
||||||
-rm -f $(DESTDIR)$(sysconfdir)/ssh_config
|
-rm -f $(DESTDIR)$(sysconfdir)/ssh_config
|
||||||
|
|
|
@ -255,7 +255,7 @@ ssh_connect(const char *host, struct sockaddr_storage * hostaddr,
|
||||||
temporarily_use_uid(original_real_uid);
|
temporarily_use_uid(original_real_uid);
|
||||||
if (connect(sock, ai->ai_addr, ai->ai_addrlen) >= 0) {
|
if (connect(sock, ai->ai_addr, ai->ai_addrlen) >= 0) {
|
||||||
/* Successful connection. */
|
/* Successful connection. */
|
||||||
memcpy(hostaddr, ai->ai_addr, sizeof(*(ai->ai_addr)));
|
memcpy(hostaddr, ai->ai_addr, ai->ai_addrlen);
|
||||||
restore_uid();
|
restore_uid();
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue