From 51ab2d9797650c7ed4ffd824eee60137a23f5db9 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 23 Oct 2015 02:26:11 -0700 Subject: [PATCH] try mobile safari again --- bower_components/botp/sha1-hmac.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bower_components/botp/sha1-hmac.js b/bower_components/botp/sha1-hmac.js index 2f3439b..a0a2494 100644 --- a/bower_components/botp/sha1-hmac.js +++ b/bower_components/botp/sha1-hmac.js @@ -12,10 +12,10 @@ exports.sha1Hmac = function (key, bytes) { var Unibabel = window.Unibabel; - if (window.crypto && window.crypto.subtle) { + if (window.crypto) { return (window.crypto.subtle||window.crypto.webkitSubtle).importKey( "raw" - , key + , key.buffer , { name: "HMAC" , hash: { name: "SHA-1" } }