mirror of
https://github.com/nodejs/node.git
synced 2025-05-01 08:42:45 +00:00

Add `privateKeyIdentifier` and `privateKeyEngine` options to get private key from an OpenSSL engine in tls.createSecureContext(). PR-URL: https://github.com/nodejs/node/pull/28973 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
26 lines
662 B
Python
26 lines
662 B
Python
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'testkeyengine',
|
|
'type': 'none',
|
|
'includes': ['../common.gypi'],
|
|
'conditions': [
|
|
['OS=="mac" and '
|
|
'node_use_openssl=="true" and '
|
|
'node_shared=="false" and '
|
|
'node_shared_openssl=="false"', {
|
|
'type': 'shared_library',
|
|
'sources': [ 'testkeyengine.cc' ],
|
|
'product_extension': 'engine',
|
|
'include_dirs': ['../../../deps/openssl/openssl/include'],
|
|
'link_settings': {
|
|
'libraries': [
|
|
'../../../../out/<(PRODUCT_DIR)/<(openssl_product)'
|
|
]
|
|
},
|
|
}],
|
|
]
|
|
}
|
|
]
|
|
}
|