From a88a8090f09ddc0a31e4e5409e9261ad6f9b1cf5 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Fri, 17 Apr 2009 23:49:45 +0200 Subject: break lines nicer in 64-bit openssl keys Signed-off-by: Johannes Berg --- utils/key2pub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/key2pub.py b/utils/key2pub.py index 8338e27..c7f1a7f 100755 --- a/utils/key2pub.py +++ b/utils/key2pub.py @@ -26,7 +26,7 @@ def print_ssl_64(output, name, val): output.write('\t') output.write('0x%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x, ' % (ord(v1), ord(v2), ord(v3), ord(v4), ord(v5), ord(v6), ord(v7), ord(v8))) idx += 1 - if idx == 8: + if idx == 2: idx = 0 output.write('\n') if idx: -- cgit v1.2.3