summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2012-08-07 23:42:40 +0200
committerMichael Tänzer <neo@nhng.de>2012-08-08 00:29:43 +0200
commitb65f5c60cd9d546584977504770c937254c68690 (patch)
tree66df787b5c473cb31c4927073f71b81029998936 /www
parent4c79ad2ee246da7d7826094cedb8c0d0f9842ce5 (diff)
downloadcacert-devel-b65f5c60cd9d546584977504770c937254c68690.tar.gz
cacert-devel-b65f5c60cd9d546584977504770c937254c68690.tar.xz
cacert-devel-b65f5c60cd9d546584977504770c937254c68690.zip
bug 964: Hex is hexed => dehex
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'www')
-rw-r--r--www/keygenIE.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/keygenIE.js b/www/keygenIE.js
index b7c1a97..c311b85 100644
--- a/www/keygenIE.js
+++ b/www/keygenIE.js
@@ -61,8 +61,8 @@ var CAcert_keygen_IE = function () {
var showError = function (message, exception) {
window.alert(message +
"\n\nError: " + exception.message +
- " (0x" + (1 << 32 + exception.number).toString(16) + " / " +
- exception.number + ")");
+ " (0x" + (0xFFFFFFFF + exception.number +1).toString(16) +
+ " / " + exception.number + ")");
}