]> git.kaiwu.me - njs.git/commitdiff
WebCrypto: fixed compilation with --debug=YES.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 28 Feb 2023 07:55:55 +0000 (23:55 -0800)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 28 Feb 2023 07:55:55 +0000 (23:55 -0800)
The issue was introduced in 2e3bbe8743af (0.7.10).

external/njs_webcrypto_module.c

index 3490c6174f8a1317529bfd1c840929ae04af1b2a..cb633d9365559299b9acdf49af302aca7961811a 100644 (file)
@@ -2076,7 +2076,7 @@ njs_export_jwk_oct(njs_vm_t *vm, njs_webcrypto_key_t *key, njs_value_t *retval)
 
     static const njs_value_t  oct_str = njs_string("oct");
 
-    njs_assert(key->raw.start != NULL)
+    njs_assert(key->raw.start != NULL);
 
     ret = njs_string_base64url(vm, &k, &key->raw);
     if (njs_slow_path(ret != NJS_OK)) {