commit | a88a8090f09ddc0a31e4e5409e9261ad6f9b1cf5 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Fri Apr 17 23:49:45 2009 +0200 |
committer | Johannes Berg <johannes@sipsolutions.net> | Fri Apr 17 23:49:45 2009 +0200 |
tree | 650efb38f3ab6c6ba0bd5a31e9742729b30b5c52 | |
parent | 52a5c21d3f58442706dc076351bc64784ebffea1 [diff] |
break lines nicer in 64-bit openssl keys Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
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 @@ 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: