aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-02-02 03:26:15 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-02-02 03:26:15 -0800
commitbb851b7e18a134ed88b82b8039b8b41547c9e92c (patch)
tree4ec156bdc03c9f7148b08f7120f94f103e035477
parentfe3131cf1734f20fc08187e3890dabbb970a1289 (diff)
downloadbun-bb851b7e18a134ed88b82b8039b8b41547c9e92c.tar.gz
bun-bb851b7e18a134ed88b82b8039b8b41547c9e92c.tar.zst
bun-bb851b7e18a134ed88b82b8039b8b41547c9e92c.zip
Register the algorithm
-rw-r--r--src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp b/src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp
index 1976a01a8..8e588d8bf 100644
--- a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp
+++ b/src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp
@@ -35,6 +35,7 @@
#include "CryptoAlgorithmAES_KW.h"
#include "CryptoAlgorithmECDH.h"
#include "CryptoAlgorithmECDSA.h"
+#include "CryptoAlgorithmEd25519.h"
#include "CryptoAlgorithmHKDF.h"
#include "CryptoAlgorithmHMAC.h"
#include "CryptoAlgorithmPBKDF2.h"
@@ -71,6 +72,7 @@ void CryptoAlgorithmRegistry::platformRegisterAlgorithms()
registerAlgorithm<CryptoAlgorithmSHA256>();
registerAlgorithm<CryptoAlgorithmSHA384>();
registerAlgorithm<CryptoAlgorithmSHA512>();
+ registerAlgorithm<CryptoAlgorithmEd25519>();
}
} // namespace WebCore