summaryrefslogtreecommitdiffstats
path: root/ncr-key.c
diff options
context:
space:
mode:
Diffstat (limited to 'ncr-key.c')
-rw-r--r--ncr-key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncr-key.c b/ncr-key.c
index 406e03299c3..8e082d169a2 100644
--- a/ncr-key.c
+++ b/ncr-key.c
@@ -558,7 +558,7 @@ int bits;
/* FIXME: should we move everything here into algorithm properties?
*/
if (item->type == NCR_KEY_TYPE_SECRET) {
- if (item->algorithm->algo == NCR_ALG_3DES_CBC)
+ if (item->algorithm->algo == NCR_ALG_3DES_CBC || item->algorithm->algo == NCR_ALG_3DES_ECB)
return 112;
return item->key.secret.size*8;