node-aix-ppc64 18.16.0 → 18.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +601 -0
- package/LICENSE +538 -525
- package/README.md +44 -33
- package/bin/node +0 -0
- package/include/node/config.gypi +7 -7
- package/include/node/js_native_api.h +6 -6
- package/include/node/js_native_api_types.h +2 -1
- package/include/node/node.exp +12706 -12368
- package/include/node/node.h +27 -5
- package/include/node/node_api.h +28 -60
- package/include/node/node_version.h +6 -2
- package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +11 -11
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +9 -9
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +24 -24
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +24 -24
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +24 -24
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +2 -2
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +2 -2
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +2 -2
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +9 -10
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +9 -9
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +9 -9
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/crypto/buildinf.h +29 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/cmp.h +597 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h +114 -0
- package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +9 -8
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +9 -8
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/cmperr.h +3 -1
- package/include/node/openssl/dsaerr.h +2 -1
- package/include/node/openssl/ecerr.h +2 -1
- package/include/node/zconf.h +5 -1
- package/include/node/zlib.h +4 -4
- package/package.json +1 -1
- package/share/man/man1/node.1 +2 -1
package/include/node/node.h
CHANGED
|
@@ -75,6 +75,9 @@
|
|
|
75
75
|
#include "v8-platform.h" // NOLINT(build/include_order)
|
|
76
76
|
#include "node_version.h" // NODE_MODULE_VERSION
|
|
77
77
|
|
|
78
|
+
#define NAPI_EXPERIMENTAL
|
|
79
|
+
#include "node_api.h"
|
|
80
|
+
|
|
78
81
|
#include <functional>
|
|
79
82
|
#include <memory>
|
|
80
83
|
#include <ostream>
|
|
@@ -121,8 +124,6 @@
|
|
|
121
124
|
// Forward-declare libuv loop
|
|
122
125
|
struct uv_loop_s;
|
|
123
126
|
|
|
124
|
-
struct napi_module;
|
|
125
|
-
|
|
126
127
|
// Forward-declare these functions now to stop MSVS from becoming
|
|
127
128
|
// terminally confused when it's done in node_internals.h
|
|
128
129
|
namespace node {
|
|
@@ -361,10 +362,25 @@ inline std::unique_ptr<InitializationResult> InitializeOncePerProcess(
|
|
|
361
362
|
}
|
|
362
363
|
|
|
363
364
|
enum OptionEnvvarSettings {
|
|
364
|
-
|
|
365
|
-
|
|
365
|
+
// Allow the options to be set via the environment variable, like
|
|
366
|
+
// `NODE_OPTIONS`.
|
|
367
|
+
kAllowedInEnvvar = 0,
|
|
368
|
+
// Disallow the options to be set via the environment variable, like
|
|
369
|
+
// `NODE_OPTIONS`.
|
|
370
|
+
kDisallowedInEnvvar = 1,
|
|
371
|
+
// Deprecated, use kAllowedInEnvvar instead.
|
|
372
|
+
kAllowedInEnvironment = kAllowedInEnvvar,
|
|
373
|
+
// Deprecated, use kDisallowedInEnvvar instead.
|
|
374
|
+
kDisallowedInEnvironment = kDisallowedInEnvvar,
|
|
366
375
|
};
|
|
367
376
|
|
|
377
|
+
// Process the arguments and set up the per-process options.
|
|
378
|
+
// If the `settings` is set as OptionEnvvarSettings::kAllowedInEnvvar, the
|
|
379
|
+
// options that are allowed in the environment variable are processed. Options
|
|
380
|
+
// that are disallowed to be set via environment variable are processed as
|
|
381
|
+
// errors.
|
|
382
|
+
// Otherwise all the options that are disallowed (and those are allowed) to be
|
|
383
|
+
// set via environment variable are processed.
|
|
368
384
|
NODE_EXTERN int ProcessGlobalArgs(std::vector<std::string>* args,
|
|
369
385
|
std::vector<std::string>* exec_args,
|
|
370
386
|
std::vector<std::string>* errors,
|
|
@@ -629,7 +645,8 @@ NODE_EXTERN Environment* GetCurrentEnvironment(v8::Local<v8::Context> context);
|
|
|
629
645
|
NODE_EXTERN IsolateData* GetEnvironmentIsolateData(Environment* env);
|
|
630
646
|
NODE_EXTERN ArrayBufferAllocator* GetArrayBufferAllocator(IsolateData* data);
|
|
631
647
|
|
|
632
|
-
NODE_EXTERN void OnFatalError(const char* location,
|
|
648
|
+
[[noreturn]] NODE_EXTERN void OnFatalError(const char* location,
|
|
649
|
+
const char* message);
|
|
633
650
|
NODE_EXTERN void PromiseRejectCallback(v8::PromiseRejectMessage message);
|
|
634
651
|
NODE_EXTERN bool AllowWasmCodeGenerationCallback(v8::Local<v8::Context> context,
|
|
635
652
|
v8::Local<v8::String>);
|
|
@@ -1081,6 +1098,11 @@ NODE_EXTERN void AddLinkedBinding(Environment* env,
|
|
|
1081
1098
|
const char* name,
|
|
1082
1099
|
addon_context_register_func fn,
|
|
1083
1100
|
void* priv);
|
|
1101
|
+
NODE_EXTERN void AddLinkedBinding(
|
|
1102
|
+
Environment* env,
|
|
1103
|
+
const char* name,
|
|
1104
|
+
napi_addon_register_func fn,
|
|
1105
|
+
int32_t module_api_version = NODE_API_DEFAULT_MODULE_API_VERSION);
|
|
1084
1106
|
|
|
1085
1107
|
/* Registers a callback with the passed-in Environment instance. The callback
|
|
1086
1108
|
* is called after the event loop exits, but before the VM is disposed.
|
package/include/node/node_api.h
CHANGED
|
@@ -30,7 +30,9 @@ struct uv_loop_s; // Forward declaration.
|
|
|
30
30
|
|
|
31
31
|
typedef napi_value(NAPI_CDECL* napi_addon_register_func)(napi_env env,
|
|
32
32
|
napi_value exports);
|
|
33
|
+
typedef int32_t(NAPI_CDECL* node_api_addon_get_api_version_func)();
|
|
33
34
|
|
|
35
|
+
// Used by deprecated registration method napi_module_register.
|
|
34
36
|
typedef struct napi_module {
|
|
35
37
|
int nm_version;
|
|
36
38
|
unsigned int nm_flags;
|
|
@@ -43,85 +45,51 @@ typedef struct napi_module {
|
|
|
43
45
|
|
|
44
46
|
#define NAPI_MODULE_VERSION 1
|
|
45
47
|
|
|
46
|
-
#if defined(_MSC_VER)
|
|
47
|
-
#if defined(__cplusplus)
|
|
48
|
-
#define NAPI_C_CTOR(fn) \
|
|
49
|
-
static void NAPI_CDECL fn(void); \
|
|
50
|
-
namespace { \
|
|
51
|
-
struct fn##_ { \
|
|
52
|
-
fn##_() { fn(); } \
|
|
53
|
-
} fn##_v_; \
|
|
54
|
-
} \
|
|
55
|
-
static void NAPI_CDECL fn(void)
|
|
56
|
-
#else // !defined(__cplusplus)
|
|
57
|
-
#pragma section(".CRT$XCU", read)
|
|
58
|
-
// The NAPI_C_CTOR macro defines a function fn that is called during CRT
|
|
59
|
-
// initialization.
|
|
60
|
-
// C does not support dynamic initialization of static variables and this code
|
|
61
|
-
// simulates C++ behavior. Exporting the function pointer prevents it from being
|
|
62
|
-
// optimized. See for details:
|
|
63
|
-
// https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-initialization?view=msvc-170
|
|
64
|
-
#define NAPI_C_CTOR(fn) \
|
|
65
|
-
static void NAPI_CDECL fn(void); \
|
|
66
|
-
__declspec(dllexport, allocate(".CRT$XCU")) void(NAPI_CDECL * fn##_)(void) = \
|
|
67
|
-
fn; \
|
|
68
|
-
static void NAPI_CDECL fn(void)
|
|
69
|
-
#endif // defined(__cplusplus)
|
|
70
|
-
#else
|
|
71
|
-
#define NAPI_C_CTOR(fn) \
|
|
72
|
-
static void fn(void) __attribute__((constructor)); \
|
|
73
|
-
static void fn(void)
|
|
74
|
-
#endif
|
|
75
|
-
|
|
76
|
-
#define NAPI_MODULE_X(modname, regfunc, priv, flags) \
|
|
77
|
-
EXTERN_C_START \
|
|
78
|
-
static napi_module _module = { \
|
|
79
|
-
NAPI_MODULE_VERSION, \
|
|
80
|
-
flags, \
|
|
81
|
-
__FILE__, \
|
|
82
|
-
regfunc, \
|
|
83
|
-
#modname, \
|
|
84
|
-
priv, \
|
|
85
|
-
{0}, \
|
|
86
|
-
}; \
|
|
87
|
-
NAPI_C_CTOR(_register_##modname) { napi_module_register(&_module); } \
|
|
88
|
-
EXTERN_C_END
|
|
89
|
-
|
|
90
48
|
#define NAPI_MODULE_INITIALIZER_X(base, version) \
|
|
91
49
|
NAPI_MODULE_INITIALIZER_X_HELPER(base, version)
|
|
92
50
|
#define NAPI_MODULE_INITIALIZER_X_HELPER(base, version) base##version
|
|
93
51
|
|
|
94
52
|
#ifdef __wasm32__
|
|
95
|
-
#define
|
|
96
|
-
NAPI_MODULE_INITIALIZER_X(napi_register_wasm_v, NAPI_MODULE_VERSION)
|
|
97
|
-
#define NAPI_MODULE(modname, regfunc) \
|
|
98
|
-
EXTERN_C_START \
|
|
99
|
-
NAPI_MODULE_EXPORT napi_value NAPI_WASM_INITIALIZER(napi_env env, \
|
|
100
|
-
napi_value exports) { \
|
|
101
|
-
return regfunc(env, exports); \
|
|
102
|
-
} \
|
|
103
|
-
EXTERN_C_END
|
|
53
|
+
#define NAPI_MODULE_INITIALIZER_BASE napi_register_wasm_v
|
|
104
54
|
#else
|
|
105
|
-
#define
|
|
106
|
-
NAPI_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
|
|
55
|
+
#define NAPI_MODULE_INITIALIZER_BASE napi_register_module_v
|
|
107
56
|
#endif
|
|
108
57
|
|
|
109
|
-
#define
|
|
58
|
+
#define NODE_API_MODULE_GET_API_VERSION_BASE node_api_module_get_api_version_v
|
|
110
59
|
|
|
111
60
|
#define NAPI_MODULE_INITIALIZER \
|
|
112
61
|
NAPI_MODULE_INITIALIZER_X(NAPI_MODULE_INITIALIZER_BASE, NAPI_MODULE_VERSION)
|
|
113
62
|
|
|
63
|
+
#define NODE_API_MODULE_GET_API_VERSION \
|
|
64
|
+
NAPI_MODULE_INITIALIZER_X(NODE_API_MODULE_GET_API_VERSION_BASE, \
|
|
65
|
+
NAPI_MODULE_VERSION)
|
|
66
|
+
|
|
114
67
|
#define NAPI_MODULE_INIT() \
|
|
115
68
|
EXTERN_C_START \
|
|
69
|
+
NAPI_MODULE_EXPORT int32_t NODE_API_MODULE_GET_API_VERSION() { \
|
|
70
|
+
return NAPI_VERSION; \
|
|
71
|
+
} \
|
|
116
72
|
NAPI_MODULE_EXPORT napi_value NAPI_MODULE_INITIALIZER(napi_env env, \
|
|
117
73
|
napi_value exports); \
|
|
118
74
|
EXTERN_C_END \
|
|
119
|
-
NAPI_MODULE(NODE_GYP_MODULE_NAME, NAPI_MODULE_INITIALIZER) \
|
|
120
75
|
napi_value NAPI_MODULE_INITIALIZER(napi_env env, napi_value exports)
|
|
121
76
|
|
|
77
|
+
#define NAPI_MODULE(modname, regfunc) \
|
|
78
|
+
NAPI_MODULE_INIT() { return regfunc(env, exports); }
|
|
79
|
+
|
|
80
|
+
// Deprecated. Use NAPI_MODULE.
|
|
81
|
+
#define NAPI_MODULE_X(modname, regfunc, priv, flags) \
|
|
82
|
+
NAPI_MODULE(modname, regfunc)
|
|
83
|
+
|
|
122
84
|
EXTERN_C_START
|
|
123
85
|
|
|
124
|
-
|
|
86
|
+
// Deprecated. Replaced by symbol-based registration defined by NAPI_MODULE
|
|
87
|
+
// and NAPI_MODULE_INIT macros.
|
|
88
|
+
#if defined(__cplusplus) && __cplusplus >= 201402L
|
|
89
|
+
[[deprecated]]
|
|
90
|
+
#endif
|
|
91
|
+
NAPI_EXTERN void NAPI_CDECL
|
|
92
|
+
napi_module_register(napi_module* mod);
|
|
125
93
|
|
|
126
94
|
NAPI_EXTERN NAPI_NO_RETURN void NAPI_CDECL
|
|
127
95
|
napi_fatal_error(const char* location,
|
|
@@ -280,12 +248,12 @@ napi_remove_async_cleanup_hook(napi_async_cleanup_hook_handle remove_handle);
|
|
|
280
248
|
|
|
281
249
|
#endif // NAPI_VERSION >= 8
|
|
282
250
|
|
|
283
|
-
#
|
|
251
|
+
#if NAPI_VERSION >= 9
|
|
284
252
|
|
|
285
253
|
NAPI_EXTERN napi_status NAPI_CDECL
|
|
286
254
|
node_api_get_module_file_name(napi_env env, const char** result);
|
|
287
255
|
|
|
288
|
-
#endif //
|
|
256
|
+
#endif // NAPI_VERSION >= 9
|
|
289
257
|
|
|
290
258
|
EXTERN_C_END
|
|
291
259
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
#define SRC_NODE_VERSION_H_
|
|
24
24
|
|
|
25
25
|
#define NODE_MAJOR_VERSION 18
|
|
26
|
-
#define NODE_MINOR_VERSION
|
|
26
|
+
#define NODE_MINOR_VERSION 17
|
|
27
27
|
#define NODE_PATCH_VERSION 0
|
|
28
28
|
|
|
29
29
|
#define NODE_VERSION_IS_LTS 1
|
|
@@ -93,6 +93,10 @@
|
|
|
93
93
|
|
|
94
94
|
// The NAPI_VERSION provided by this version of the runtime. This is the version
|
|
95
95
|
// which the Node binary being built supports.
|
|
96
|
-
#define NAPI_VERSION
|
|
96
|
+
#define NAPI_VERSION 9
|
|
97
|
+
|
|
98
|
+
// Node API modules use NAPI_VERSION 8 by default if it is not explicitly
|
|
99
|
+
// specified. It must be always 8.
|
|
100
|
+
#define NODE_API_DEFAULT_MODULE_API_VERSION 8
|
|
97
101
|
|
|
98
102
|
#endif // SRC_NODE_VERSION_H_
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/cmp.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 2007-
|
|
5
|
+
* Copyright 2007-2023 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
* Copyright Nokia 2007-2019
|
|
7
7
|
* Copyright Siemens AG 2015-2019
|
|
8
8
|
*
|
|
@@ -442,8 +442,8 @@ int OSSL_CMP_CTX_build_cert_chain(OSSL_CMP_CTX *ctx, X509_STORE *own_trusted,
|
|
|
442
442
|
int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey);
|
|
443
443
|
int OSSL_CMP_CTX_set1_referenceValue(OSSL_CMP_CTX *ctx,
|
|
444
444
|
const unsigned char *ref, int len);
|
|
445
|
-
int OSSL_CMP_CTX_set1_secretValue(OSSL_CMP_CTX *ctx,
|
|
446
|
-
const int len);
|
|
445
|
+
int OSSL_CMP_CTX_set1_secretValue(OSSL_CMP_CTX *ctx,
|
|
446
|
+
const unsigned char *sec, int len);
|
|
447
447
|
/* CMP message header and extra certificates: */
|
|
448
448
|
int OSSL_CMP_CTX_set1_recipient(OSSL_CMP_CTX *ctx, const X509_NAME *name);
|
|
449
449
|
int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
|
|
@@ -503,6 +503,7 @@ ASN1_OCTET_STRING *OSSL_CMP_HDR_get0_recipNonce(const OSSL_CMP_PKIHEADER *hdr);
|
|
|
503
503
|
OSSL_CMP_PKIHEADER *OSSL_CMP_MSG_get0_header(const OSSL_CMP_MSG *msg);
|
|
504
504
|
int OSSL_CMP_MSG_get_bodytype(const OSSL_CMP_MSG *msg);
|
|
505
505
|
int OSSL_CMP_MSG_update_transactionID(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg);
|
|
506
|
+
int OSSL_CMP_MSG_update_recipNonce(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg);
|
|
506
507
|
OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid);
|
|
507
508
|
OSSL_CMP_MSG *OSSL_CMP_MSG_read(const char *file, OSSL_LIB_CTX *libctx,
|
|
508
509
|
const char *propq);
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 9
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.9"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.9+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "30 May 2023"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.9+quic 30 May 2023"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/cmp.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 2007-
|
|
5
|
+
* Copyright 2007-2023 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
* Copyright Nokia 2007-2019
|
|
7
7
|
* Copyright Siemens AG 2015-2019
|
|
8
8
|
*
|
|
@@ -442,8 +442,8 @@ int OSSL_CMP_CTX_build_cert_chain(OSSL_CMP_CTX *ctx, X509_STORE *own_trusted,
|
|
|
442
442
|
int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey);
|
|
443
443
|
int OSSL_CMP_CTX_set1_referenceValue(OSSL_CMP_CTX *ctx,
|
|
444
444
|
const unsigned char *ref, int len);
|
|
445
|
-
int OSSL_CMP_CTX_set1_secretValue(OSSL_CMP_CTX *ctx,
|
|
446
|
-
const int len);
|
|
445
|
+
int OSSL_CMP_CTX_set1_secretValue(OSSL_CMP_CTX *ctx,
|
|
446
|
+
const unsigned char *sec, int len);
|
|
447
447
|
/* CMP message header and extra certificates: */
|
|
448
448
|
int OSSL_CMP_CTX_set1_recipient(OSSL_CMP_CTX *ctx, const X509_NAME *name);
|
|
449
449
|
int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
|
|
@@ -503,6 +503,7 @@ ASN1_OCTET_STRING *OSSL_CMP_HDR_get0_recipNonce(const OSSL_CMP_PKIHEADER *hdr);
|
|
|
503
503
|
OSSL_CMP_PKIHEADER *OSSL_CMP_MSG_get0_header(const OSSL_CMP_MSG *msg);
|
|
504
504
|
int OSSL_CMP_MSG_get_bodytype(const OSSL_CMP_MSG *msg);
|
|
505
505
|
int OSSL_CMP_MSG_update_transactionID(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg);
|
|
506
|
+
int OSSL_CMP_MSG_update_recipNonce(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg);
|
|
506
507
|
OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid);
|
|
507
508
|
OSSL_CMP_MSG *OSSL_CMP_MSG_read(const char *file, OSSL_LIB_CTX *libctx,
|
|
508
509
|
const char *propq);
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 9
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.9"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.9+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "30 May 2023"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.9+quic 30 May 2023"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
#define PLATFORM "platform: BSD-x86"
|
|
14
|
-
#define DATE "built on:
|
|
14
|
+
#define DATE "built on: Fri Jun 9 11:59:26 2023 UTC"
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
17
|
* Generate compiler_flags as an array of individual characters. This is a
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
* literal
|
|
20
20
|
*/
|
|
21
21
|
static const char compiler_flags[] = {
|
|
22
|
-
'c','o','m','p','i','l','e','r',':',' ','
|
|
23
|
-
'
|
|
24
|
-
'l','
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'
|
|
22
|
+
'c','o','m','p','i','l','e','r',':',' ','c','c',' ','-','f','P',
|
|
23
|
+
'I','C',' ','-','p','t','h','r','e','a','d',' ','-','W','a','l',
|
|
24
|
+
'l',' ','-','O','3',' ','-','f','o','m','i','t','-','f','r','a',
|
|
25
|
+
'm','e','-','p','o','i','n','t','e','r',' ','-','D','L','_','E',
|
|
26
|
+
'N','D','I','A','N',' ','-','D','O','P','E','N','S','S','L','_',
|
|
27
|
+
'P','I','C',' ','-','D','_','T','H','R','E','A','D','_','S','A',
|
|
28
|
+
'F','E',' ','-','D','_','R','E','E','N','T','R','A','N','T',' ',
|
|
29
|
+
'-','D','O','P','E','N','S','S','L','_','B','U','I','L','D','I',
|
|
30
|
+
'N','G','_','O','P','E','N','S','S','L',' ','-','D','N','D','E',
|
|
31
|
+
'B','U','G','\0'
|
|
32
32
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/cmp.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 2007-
|
|
5
|
+
* Copyright 2007-2023 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
* Copyright Nokia 2007-2019
|
|
7
7
|
* Copyright Siemens AG 2015-2019
|
|
8
8
|
*
|
|
@@ -442,8 +442,8 @@ int OSSL_CMP_CTX_build_cert_chain(OSSL_CMP_CTX *ctx, X509_STORE *own_trusted,
|
|
|
442
442
|
int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey);
|
|
443
443
|
int OSSL_CMP_CTX_set1_referenceValue(OSSL_CMP_CTX *ctx,
|
|
444
444
|
const unsigned char *ref, int len);
|
|
445
|
-
int OSSL_CMP_CTX_set1_secretValue(OSSL_CMP_CTX *ctx,
|
|
446
|
-
const int len);
|
|
445
|
+
int OSSL_CMP_CTX_set1_secretValue(OSSL_CMP_CTX *ctx,
|
|
446
|
+
const unsigned char *sec, int len);
|
|
447
447
|
/* CMP message header and extra certificates: */
|
|
448
448
|
int OSSL_CMP_CTX_set1_recipient(OSSL_CMP_CTX *ctx, const X509_NAME *name);
|
|
449
449
|
int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
|
|
@@ -503,6 +503,7 @@ ASN1_OCTET_STRING *OSSL_CMP_HDR_get0_recipNonce(const OSSL_CMP_PKIHEADER *hdr);
|
|
|
503
503
|
OSSL_CMP_PKIHEADER *OSSL_CMP_MSG_get0_header(const OSSL_CMP_MSG *msg);
|
|
504
504
|
int OSSL_CMP_MSG_get_bodytype(const OSSL_CMP_MSG *msg);
|
|
505
505
|
int OSSL_CMP_MSG_update_transactionID(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg);
|
|
506
|
+
int OSSL_CMP_MSG_update_recipNonce(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg);
|
|
506
507
|
OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid);
|
|
507
508
|
OSSL_CMP_MSG *OSSL_CMP_MSG_read(const char *file, OSSL_LIB_CTX *libctx,
|
|
508
509
|
const char *propq);
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 9
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.9"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.9+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "30 May 2023"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.9+quic 30 May 2023"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/cmp.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 2007-
|
|
5
|
+
* Copyright 2007-2023 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
* Copyright Nokia 2007-2019
|
|
7
7
|
* Copyright Siemens AG 2015-2019
|
|
8
8
|
*
|
|
@@ -442,8 +442,8 @@ int OSSL_CMP_CTX_build_cert_chain(OSSL_CMP_CTX *ctx, X509_STORE *own_trusted,
|
|
|
442
442
|
int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey);
|
|
443
443
|
int OSSL_CMP_CTX_set1_referenceValue(OSSL_CMP_CTX *ctx,
|
|
444
444
|
const unsigned char *ref, int len);
|
|
445
|
-
int OSSL_CMP_CTX_set1_secretValue(OSSL_CMP_CTX *ctx,
|
|
446
|
-
const int len);
|
|
445
|
+
int OSSL_CMP_CTX_set1_secretValue(OSSL_CMP_CTX *ctx,
|
|
446
|
+
const unsigned char *sec, int len);
|
|
447
447
|
/* CMP message header and extra certificates: */
|
|
448
448
|
int OSSL_CMP_CTX_set1_recipient(OSSL_CMP_CTX *ctx, const X509_NAME *name);
|
|
449
449
|
int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
|
|
@@ -503,6 +503,7 @@ ASN1_OCTET_STRING *OSSL_CMP_HDR_get0_recipNonce(const OSSL_CMP_PKIHEADER *hdr);
|
|
|
503
503
|
OSSL_CMP_PKIHEADER *OSSL_CMP_MSG_get0_header(const OSSL_CMP_MSG *msg);
|
|
504
504
|
int OSSL_CMP_MSG_get_bodytype(const OSSL_CMP_MSG *msg);
|
|
505
505
|
int OSSL_CMP_MSG_update_transactionID(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg);
|
|
506
|
+
int OSSL_CMP_MSG_update_recipNonce(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg);
|
|
506
507
|
OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid);
|
|
507
508
|
OSSL_CMP_MSG *OSSL_CMP_MSG_read(const char *file, OSSL_LIB_CTX *libctx,
|
|
508
509
|
const char *propq);
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 9
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.9"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.9+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "30 May 2023"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.9+quic 30 May 2023"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* WARNING: do not edit!
|
|
3
3
|
* Generated by Makefile from include/openssl/cmp.h.in
|
|
4
4
|
*
|
|
5
|
-
* Copyright 2007-
|
|
5
|
+
* Copyright 2007-2023 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
6
|
* Copyright Nokia 2007-2019
|
|
7
7
|
* Copyright Siemens AG 2015-2019
|
|
8
8
|
*
|
|
@@ -442,8 +442,8 @@ int OSSL_CMP_CTX_build_cert_chain(OSSL_CMP_CTX *ctx, X509_STORE *own_trusted,
|
|
|
442
442
|
int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey);
|
|
443
443
|
int OSSL_CMP_CTX_set1_referenceValue(OSSL_CMP_CTX *ctx,
|
|
444
444
|
const unsigned char *ref, int len);
|
|
445
|
-
int OSSL_CMP_CTX_set1_secretValue(OSSL_CMP_CTX *ctx,
|
|
446
|
-
const int len);
|
|
445
|
+
int OSSL_CMP_CTX_set1_secretValue(OSSL_CMP_CTX *ctx,
|
|
446
|
+
const unsigned char *sec, int len);
|
|
447
447
|
/* CMP message header and extra certificates: */
|
|
448
448
|
int OSSL_CMP_CTX_set1_recipient(OSSL_CMP_CTX *ctx, const X509_NAME *name);
|
|
449
449
|
int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
|
|
@@ -503,6 +503,7 @@ ASN1_OCTET_STRING *OSSL_CMP_HDR_get0_recipNonce(const OSSL_CMP_PKIHEADER *hdr);
|
|
|
503
503
|
OSSL_CMP_PKIHEADER *OSSL_CMP_MSG_get0_header(const OSSL_CMP_MSG *msg);
|
|
504
504
|
int OSSL_CMP_MSG_get_bodytype(const OSSL_CMP_MSG *msg);
|
|
505
505
|
int OSSL_CMP_MSG_update_transactionID(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg);
|
|
506
|
+
int OSSL_CMP_MSG_update_recipNonce(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg);
|
|
506
507
|
OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid);
|
|
507
508
|
OSSL_CMP_MSG *OSSL_CMP_MSG_read(const char *file, OSSL_LIB_CTX *libctx,
|
|
508
509
|
const char *propq);
|
|
@@ -29,7 +29,7 @@ extern "C" {
|
|
|
29
29
|
*/
|
|
30
30
|
# define OPENSSL_VERSION_MAJOR 3
|
|
31
31
|
# define OPENSSL_VERSION_MINOR 0
|
|
32
|
-
# define OPENSSL_VERSION_PATCH
|
|
32
|
+
# define OPENSSL_VERSION_PATCH 9
|
|
33
33
|
|
|
34
34
|
/*
|
|
35
35
|
* Additional version information
|
|
@@ -74,21 +74,21 @@ extern "C" {
|
|
|
74
74
|
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
|
|
75
75
|
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
|
|
76
76
|
*/
|
|
77
|
-
# define OPENSSL_VERSION_STR "3.0.
|
|
78
|
-
# define OPENSSL_FULL_VERSION_STR "3.0.
|
|
77
|
+
# define OPENSSL_VERSION_STR "3.0.9"
|
|
78
|
+
# define OPENSSL_FULL_VERSION_STR "3.0.9+quic"
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
81
|
* SECTION 3: ADDITIONAL METADATA
|
|
82
82
|
*
|
|
83
83
|
* These strings are defined separately to allow them to be parsable.
|
|
84
84
|
*/
|
|
85
|
-
# define OPENSSL_RELEASE_DATE "
|
|
85
|
+
# define OPENSSL_RELEASE_DATE "30 May 2023"
|
|
86
86
|
|
|
87
87
|
/*
|
|
88
88
|
* SECTION 4: BACKWARD COMPATIBILITY
|
|
89
89
|
*/
|
|
90
90
|
|
|
91
|
-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.
|
|
91
|
+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.9+quic 30 May 2023"
|
|
92
92
|
|
|
93
93
|
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
|
|
94
94
|
# ifdef OPENSSL_VERSION_PRE_RELEASE
|