[gcr] ui: Print 'Elliptic Curve' as key type for EC keys in renderer
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr] ui: Print 'Elliptic Curve' as key type for EC keys in renderer
- Date: Sat, 19 Apr 2014 20:37:40 +0000 (UTC)
commit 4fce10b1dd8c9196ddd3e7c47aa9330227df9c6c
Author: Stef Walter <stefw gnome org>
Date: Thu Apr 17 09:59:31 2014 +0200
ui: Print 'Elliptic Curve' as key type for EC keys in renderer
ui/gcr-key-renderer.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/ui/gcr-key-renderer.c b/ui/gcr-key-renderer.c
index 1383d31..0ed0bc0 100644
--- a/ui/gcr-key-renderer.c
+++ b/ui/gcr-key-renderer.c
@@ -362,6 +362,8 @@ gcr_key_renderer_real_render (GcrRenderer *renderer, GcrViewer *viewer)
text = _("Public DSA Key");
else if (key_type == CKK_DSA)
text = _("Public DSA Key");
+ else if (key_type == CKK_EC)
+ text = _("Public Elliptic Curve Key");
else
text = _("Public Key");
}
@@ -381,6 +383,8 @@ gcr_key_renderer_real_render (GcrRenderer *renderer, GcrViewer *viewer)
text = _("RSA");
else if (key_type == CKK_DSA)
text = _("DSA");
+ else if (key_type == CKK_EC)
+ text = _("Elliptic Curve");
else
text = _("Unknown");
_gcr_display_view_append_value (view, renderer, _("Algorithm"), text, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]