mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: test crypto.setEngine() using an actual engine
Signed-off-by: Darshan Sen <darshan.sen@postman.com> PR-URL: https://github.com/nodejs/node/pull/40481 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
committed by
Node.js GitHub Bot
parent
babd73ce25
commit
ff536fa13e
26
node.gyp
26
node.gyp
@@ -1473,5 +1473,31 @@
|
||||
},
|
||||
]
|
||||
}], # end aix section
|
||||
# TODO(RaisinTen): Enable this to build on other platforms as well.
|
||||
['(OS=="mac" or (OS=="linux" and target_arch=="x64")) and \
|
||||
node_use_openssl=="true"', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'test_crypto_engine',
|
||||
'type': 'shared_library',
|
||||
'include_dirs': ['deps/openssl/openssl/include'],
|
||||
'sources': ['test/fixtures/test_crypto_engine.c'],
|
||||
'conditions': [
|
||||
['OS=="mac"', {
|
||||
'dependencies': ['deps/openssl/openssl.gyp:openssl'],
|
||||
'xcode_settings': {
|
||||
'OTHER_CFLAGS': ['-Wno-deprecated-declarations'],
|
||||
},
|
||||
}],
|
||||
['OS=="linux" and target_arch=="x64"', {
|
||||
'cflags': [
|
||||
'-Wno-deprecated-declarations',
|
||||
'-fPIC',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}, # test_crypto_engine
|
||||
], # end targets
|
||||
}], # end node_use_openssl section
|
||||
], # end conditions block
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user