mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-16 10:38:06 -05:00
3bb12dff3b

Previously, it would generate a prime candidate, test it, and abort if that candidate failed to be prime. Now, it's even willing to fail _before_ generating a prime candidate, if the first attempt to even do that is unsuccessful. This doesn't affect the existing use case of pcs_set_oneshot, which is during generation of a safe prime (as implemented by test/primegen.py --safe), where you want to make a PrimeCandidateSource that can only return 2p+1 for your existing prime p, and then abort if that fails the next step of testing. In that situation, the PrimeCandidateSource will never fail to generate its first output anyway. But these changed semantics will become useful in another use I'm about to find for one-shot mode.
This is the README for PuTTY, a free Windows and Unix Telnet and SSH client. PuTTY is built using CMake <https://cmake.org/>. To compile in the simplest way (on any of Linux, Windows or Mac), run these commands in the source directory: cmake . cmake --build . Documentation (in various formats including Windows Help and Unix `man' pages) is built from the Halibut (`.but') files in the `doc' subdirectory using `doc/Makefile'. If you aren't using one of our source snapshots, you'll need to do this yourself. Halibut can be found at <https://www.chiark.greenend.org.uk/~sgtatham/halibut/>. The PuTTY home web site is https://www.chiark.greenend.org.uk/~sgtatham/putty/ If you want to send bug reports or feature requests, please read the Feedback section of the web site before doing so. Sending one-line reports saying `it doesn't work' will waste your time as much as ours. See the file LICENCE for the licence conditions.
Description
Languages
C
89.7%
Python
8%
Perl
0.9%
CMake
0.8%
Shell
0.4%
Other
0.1%