summaryrefslogtreecommitdiff
path: root/client/gtk.c
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2011-07-31 19:24:47 +0200
committerSamuel Lidén Borell <samuel@slbdata.se>2011-07-31 19:24:47 +0200
commite9bcba23438c67217a2bca1b2322e8e03d70594f (patch)
treea92bbaf3d53d094b7624b50c45db86bc36a1b07b /client/gtk.c
parentee243d0106477985b449c043a4d56a5ef99e102b (diff)
downloadfribid-e9bcba23438c67217a2bca1b2322e8e03d70594f.tar.gz
fribid-e9bcba23438c67217a2bca1b2322e8e03d70594f.tar.bz2
fribid-e9bcba23438c67217a2bca1b2322e8e03d70594f.zip
Refuse to generate keys if there's no PRNG state
Diffstat (limited to 'client/gtk.c')
-rw-r--r--client/gtk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/gtk.c b/client/gtk.c
index 7bc5ab7..6c641b5 100644
--- a/client/gtk.c
+++ b/client/gtk.c
@@ -67,6 +67,10 @@ static const char *const errorStrings[] = {
// Smart card errors
// TokenError_BadPin
translatable("Incorrect PIN"),
+
+ // Key generation errors
+ //TokenError_NoRandomState,
+ translatable("No random state available (/dev/(u)random must exist)"),
};