Comparing version 1.0.6 to 1.1.1
@@ -96,2 +96,4 @@ | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE -DCJSON_HIDE_SYMBOLS) | ||
if (BUILD_RELOCATABLE_BINARIES) | ||
@@ -98,0 +100,0 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE "-DCOMPAT_MODE") |
@@ -90,3 +90,7 @@ # Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
set(THREADS_PREFER_PTHREAD_FLAG ON) | ||
find_package(Threads REQUIRED) | ||
if (UNIX OR APPLE) | ||
find_package(Threads REQUIRED) | ||
endif () | ||
if (APPLE) | ||
@@ -93,0 +97,0 @@ find_library(CORE_FOUNDATION_LIB CoreFoundation) |
@@ -102,2 +102,4 @@ cmake_minimum_required(VERSION 3.1) | ||
add_subdirectory(bin/elasticurl) | ||
if (NOT CMAKE_CROSSCOMPILING) | ||
add_subdirectory(bin/elasticurl) | ||
endif() |
@@ -110,2 +110,4 @@ cmake_minimum_required (VERSION 3.0) | ||
# The PQ ASM try_compile has to come after we turn on pthread | ||
set(PQ_ASM_COMPILES_ADX false) | ||
if(S2N_NO_PQ_ASM) | ||
@@ -125,2 +127,15 @@ message(STATUS "S2N_NO_PQ_ASM flag was detected - forcing usage of generic C code for PQ crypto") | ||
list(APPEND PQ_SRC ${PQ_X86_64_ASM}) | ||
message(STATUS "Attempting to try_compile PQ ASM with ADX support") | ||
try_compile(PQ_ASM_COMPILES_ADX ${CMAKE_BINARY_DIR} | ||
SOURCES | ||
"${CMAKE_CURRENT_LIST_DIR}/tests/unit/s2n_pq_asm_noop_test.c" | ||
"${CMAKE_CURRENT_LIST_DIR}/pq-crypto/sike_r2/fp_x64_asm.S" | ||
COMPILE_DEFINITIONS "-D_ADX_") | ||
if(PQ_ASM_COMPILES_ADX) | ||
message(STATUS "PQ ASM try_compile with ADX support succeeded - using ASM code with ADX instructions") | ||
# The -D_ADX_ compile flag is added to the project below | ||
else() | ||
message(STATUS "PQ ASM try_compile with ADX support failed - using ASM code without ADX instructions") | ||
endif() | ||
else() | ||
@@ -178,2 +193,6 @@ message(STATUS "PQ ASM try_compile failed - using generic C code for PQ crypto") | ||
if(PQ_ASM_COMPILES_ADX) | ||
target_compile_options(${PROJECT_NAME} PUBLIC -D_ADX_) | ||
endif() | ||
target_compile_options(${PROJECT_NAME} PUBLIC -fPIC) | ||
@@ -180,0 +199,0 @@ |
@@ -173,2 +173,3 @@ /* | ||
): NativeHandle; | ||
export function http_stream_activate(stream: NativeHandle): void; | ||
export function http_stream_close(stream: NativeHandle): void; | ||
@@ -175,0 +176,0 @@ /* wraps aws_http_connection_manager #TODO: Wrap with ClassBinder */ |
@@ -67,2 +67,3 @@ import crt_native from './binding'; | ||
protected constructor(native_handle: any, connection: HttpConnection); | ||
activate(): void; | ||
/** | ||
@@ -69,0 +70,0 @@ * Closes and ends all communication on this stream. Called automatically after the 'end' |
@@ -123,2 +123,5 @@ "use strict"; | ||
} | ||
activate() { | ||
binding_1.default.http_stream_activate(this.native_handle()); | ||
} | ||
/** | ||
@@ -125,0 +128,0 @@ * Closes and ends all communication on this stream. Called automatically after the 'end' |
{ | ||
"name": "aws-crt", | ||
"version": "1.0.6", | ||
"version": "1.1.1", | ||
"description": "NodeJS/browser bindings to the aws-c-* libraries", | ||
@@ -29,3 +29,4 @@ "homepage": "https://github.com/awslabs/aws-crt-nodejs", | ||
"jest-circus": "^25.1.0", | ||
"ts-jest": "^25.2.1", | ||
"jest-runtime": "^25.2.4", | ||
"ts-jest": "^25.3.0", | ||
"typescript": "^3.8.3", | ||
@@ -32,0 +33,0 @@ "uuid": "^3.4.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
12706084
865
4787
3
14