File: noaskpass.c

package info (click to toggle)
putty 0.83-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,216 kB
  • sloc: ansic: 148,476; python: 8,466; perl: 1,830; makefile: 128; sh: 117
file content (19 lines) | stat: -rw-r--r-- 500 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Dummy (lack-of-)implementation of a GUI password/passphrase prompt.
 */

#include "putty.h"

void random_add_noise(NoiseSourceId source, const void *noise, int length)
{
    /* We have no keypress_prng here, so no need to implement this */
}

const bool buildinfo_gtk_relevant = false;

char *gtk_askpass_main(const char *display, const char *wintitle,
                       const char *prompt, bool *success)
{
    *success = false;
    return dupstr("this Pageant was built without GTK");
}