Skip to content

Lightpanda: the headless browser designed for AI and automation

zig fmt

Karl Seguind11d7fdbd439
diff --git a/src/browser/webapi/crypto/EC.zig b/src/browser/webapi/crypto/EC.zig
index 44b9ba67c..236b2efd9 100644
--- a/src/browser/webapi/crypto/EC.zig
+++ b/src/browser/webapi/crypto/EC.zig
@@ -228,8 +228,7 @@ pub fn deriveBits(
const ctx = crypto.EVP_PKEY_CTX_new(private.getKeyObject(), null) orelse return error.OperationError;
defer crypto.EVP_PKEY_CTX_free(ctx);
- if (crypto.EVP_PKEY_derive_init(ctx) != 1 or crypto.EVP_PKEY_derive_set_peer(ctx, public.getKeyObject()) != 1)
- {
+ if (crypto.EVP_PKEY_derive_init(ctx) != 1 or crypto.EVP_PKEY_derive_set_peer(ctx, public.getKeyObject()) != 1) {
return error.OperationError;
}