noaskpass.c 500 B

1234567891011121314151617181920
  1. /*
  2. * Dummy (lack-of-)implementation of a GUI password/passphrase prompt.
  3. */
  4. #include "putty.h"
  5. void random_add_noise(NoiseSourceId source, const void *noise, int length)
  6. {
  7. /* We have no keypress_prng here, so no need to implement this */
  8. }
  9. const bool buildinfo_gtk_relevant = false;
  10. char *gtk_askpass_main(const char *display, const char *wintitle,
  11. const char *prompt, bool *success)
  12. {
  13. *success = false;
  14. return dupstr("this Pageant was built without GTK");
  15. }