summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2012-07-25 00:34:57 +0200
committerMichael Tänzer <neo@nhng.de>2012-07-25 00:34:57 +0200
commit1a0d931c9902bb7a4aa6ea7e2914741601033e16 (patch)
treea8d76df37174119d20792fd07dbf90963437a6fd /www
parente56ae655a0accdf638b44e58be3bd79d91c5e00f (diff)
downloadcacert-devel-1a0d931c9902bb7a4aa6ea7e2914741601033e16.tar.gz
cacert-devel-1a0d931c9902bb7a4aa6ea7e2914741601033e16.tar.xz
cacert-devel-1a0d931c9902bb7a4aa6ea7e2914741601033e16.zip
bug 964: hopefully properly encode error codes in hex now
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'www')
-rw-r--r--www/keygenIE.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/keygenIE.js b/www/keygenIE.js
index 5dc0f13..51da0ef 100644
--- a/www/keygenIE.js
+++ b/www/keygenIE.js
@@ -43,7 +43,7 @@
var showError = function (message, exception) {
window.alert(message +
"\n\nError: " + exception.message +
- " (" + exception.number.toString(16) + " / " +
+ " (0x" + (-exception.number).toString(16) + " / " +
exception.number + ")");
}