Changeset View
Changeset View
Standalone View
Standalone View
pinentry/pinentry.c
Show First 20 Lines • Show All 183 Lines • ▼ Show 20 Lines | pinentry_reset (int use_defaults) | ||||
/* Restore options without a default we want to preserve. */ | /* Restore options without a default we want to preserve. */ | ||||
pinentry.invisible_char = invisible_char; | pinentry.invisible_char = invisible_char; | ||||
/* Restore other options or set defaults. */ | /* Restore other options or set defaults. */ | ||||
if (use_defaults) | if (use_defaults) | ||||
{ | { | ||||
/* Pinentry timeout in seconds. */ | /* Pinentry timeout in seconds. */ | ||||
pinentry.timeout = 60; | pinentry.timeout = 0; | ||||
/* Global grab. */ | /* Global grab. */ | ||||
pinentry.grab = 1; | pinentry.grab = 1; | ||||
pinentry.color_fg = PINENTRY_COLOR_DEFAULT; | pinentry.color_fg = PINENTRY_COLOR_DEFAULT; | ||||
pinentry.color_fg_bright = 0; | pinentry.color_fg_bright = 0; | ||||
pinentry.color_bg = PINENTRY_COLOR_DEFAULT; | pinentry.color_bg = PINENTRY_COLOR_DEFAULT; | ||||
pinentry.color_so = PINENTRY_COLOR_DEFAULT; | pinentry.color_so = PINENTRY_COLOR_DEFAULT; | ||||
▲ Show 20 Lines • Show All 2,024 Lines • Show Last 20 Lines |