nodejs18/openssl3_fixups.patch
Adam Majer 0bd0db45d1 - Update to Nodejs 18.9.0:
* lib - add diagnostics channel for process and worker
  * os - add machine method
  * report - expose report public native apis
  * src - expose environment RequestInterrupt api
  * vm - include vm context in the embedded snapshot
- Changes in 18.8.0:
  * bootstrap: implement run-time user-land snapshots via
    --build-snapshot and --snapshot-blob. See
  * crypto:
    + allow zero-length IKM in HKDF and in webcrypto PBKDF2
    + allow zero-length secret KeyObject
  * deps: upgrade npm to 8.18.0
  * http: make idle http parser count configurable
  * net: add local family
  * src: print source map error source on demand
  * tls: pass a valid socket on tlsClientError
- dns.patch: upstreamed, removed
- nodejs-libpath.patch, versioned.patch: refreshed
- fix_ci_tests.patch: partially upstreamed
- openssl3_fixups.patch: fix unit tests with openssl 1.1.1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=7
2022-09-19 12:47:08 +00:00

14 lines
394 B
Diff

Index: node-v18.9.0/test/addons/openssl-providers/binding.cc
===================================================================
--- node-v18.9.0.orig/test/addons/openssl-providers/binding.cc
+++ node-v18.9.0/test/addons/openssl-providers/binding.cc
@@ -1,6 +1,8 @@
#include <assert.h>
#include <node.h>
+#if OPENSSL_VERSION_MAJOR >= 3
#include <openssl/provider.h>
+#endif
namespace {