Index: LayoutTests/crypto/exportKey.html |
diff --git a/LayoutTests/crypto/exportKey.html b/LayoutTests/crypto/exportKey.html |
index 314ef16af2b22b433abab5bfc505f63908509f3b..6032f586994939e1236dcaf7ebad07886755f7c2 100644 |
--- a/LayoutTests/crypto/exportKey.html |
+++ b/LayoutTests/crypto/exportKey.html |
@@ -3,6 +3,7 @@ |
<head> |
<script src="../resources/js-test.js"></script> |
<script src="resources/common.js"></script> |
+<script src="resources/keys.js"></script> |
</head> |
<body> |
<p id="description"></p> |
@@ -34,7 +35,7 @@ addTask(importTestKeys().then(function(result) { |
return crypto.subtle.exportKey('spki', keys.rsaSsaSha1Public); |
}).then(function(result) { |
- bytesShouldMatchHexString("Key bytes", kPublicKeySpkiDerHex, result); |
+ bytesShouldMatchHexString("Key bytes", kKeyData.rsa1.spki, result); |
})); |
completeTestWhenAllTasksDone(); |