1. Modified the ssh terminal size test to be agnostic to the version of
sed used.
2. Add some guards around the mode setting code for ioctl() availability
so it would build for Windows.
1. Prep the SHELL variable inherited by the new shell to be equal to the
user's shell.
2. Prep the new shell's $0 variable to be equal to the shell name
prefixed with a '-', ie "/bin/bash" becomes "-bash".
1. Rename the stashed window size values.
2. Set the terminal modes after the child process is running.
3. Decode the modes list from the pty-request message.
4. Store the modes list for later use.
1. Add a check for limits.h to configure.ac.
2. In wolfSSHd's configuration.c file, add an include of limits.h if
available. It is including the header indirectly while using it
directly.
1. Remove the grace period wolfSSHd test. It asks for a password, and
when running as an action it doesn't have stdin, so it fails. The
test works when stdin is available.
2. Remove the check for __uint128_t from configure. wolfSSL exports this
value, if present, in its options.h. After wolfSSL v5.6.4, wolfSSL
also exports this to options.h when building it with CMake. The check
in wolfSSH isn't necessary now.
1. Move setting a nul termination on the knownHosts data until after
checking the size is reasonable.
2. A temporary keySz variable was getting used to get the length of the
key type value, but it wasn't used to copy the value. Deleted it and
used the other sz value.
3. Fix the leaking of the known hosts filename.
1. Fix a few stdC function calls to use the porting wrappers.
2. Missing some error checking, added it.
3. Add some bounds checking to the sz usage when checking for the
server's key in the known hosts file.
4. Move the temp buffers from the stack to the heap.
5. Make sure to nul terminate the read known_hosts file.
1. Update the logic for checking the key name and key against the known
hosts file.
2. Key fingerprinting for user confirmation.
3. Add user confirmation of host key additions.
4. Remove old debugging for known hosts.