1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-20 09:01:50 +03:00
tabby/web/patches/browserify-sign+4.2.1.patch
2021-06-19 21:54:27 +02:00

14 lines
473 B
Diff

diff --git a/node_modules/browserify-sign/browser/index.js b/node_modules/browserify-sign/browser/index.js
index e6df44c..641e18e 100644
--- a/node_modules/browserify-sign/browser/index.js
+++ b/node_modules/browserify-sign/browser/index.js
@@ -11,6 +11,8 @@ Object.keys(algorithms).forEach(function (key) {
algorithms[key.toLowerCase()] = algorithms[key]
})
+algorithms['sha1'] = algorithms['RSA-SHA1']
+
function Sign (algorithm) {
stream.Writable.call(this)