mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
5087792440
The upcoming PRNG revamp will want to tell noise sources apart, so that it can treat them all fairly. So I've added an extra parameter to noise_ultralight and random_add_noise, which takes values in an enumeration covering all the vague classes of entropy source I'm collecting. In this commit, though, it's simply ignored.
35 lines
566 B
C
35 lines
566 B
C
/*
|
|
* Linking module for PuTTYtel: list the available backends not
|
|
* including ssh.
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include "putty.h"
|
|
|
|
const int be_default_protocol = PROT_TELNET;
|
|
|
|
const char *const appname = "PuTTYtel";
|
|
|
|
const struct BackendVtable *const backends[] = {
|
|
&telnet_backend,
|
|
&rlogin_backend,
|
|
&raw_backend,
|
|
&serial_backend,
|
|
NULL
|
|
};
|
|
|
|
/*
|
|
* Stub implementations of functions not used in non-ssh versions.
|
|
*/
|
|
void random_save_seed(void)
|
|
{
|
|
}
|
|
|
|
void random_destroy_seed(void)
|
|
{
|
|
}
|
|
|
|
void noise_ultralight(NoiseSourceId id, unsigned long data)
|
|
{
|
|
}
|