tls: use SSL_get_peer_tmp_key · nodejs/node@ac8adeb · GitHub
Skip to content

Commit ac8adeb

Browse files
tniessentargos
authored andcommitted
tls: use SSL_get_peer_tmp_key
Both OpenSSL 1.1.1 and 3.x support SSL_get_peer_tmp_key as a replacement for SSL_get_server_tmp_key. While the old function name still exists as an alias, it does not accurately reflect the function's behavior (anymore). Hence, use the new function name here. PR-URL: #53366 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
1 parent ec5364f commit ac8adeb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/crypto/crypto_common.cc

Lines changed: 1 addition & 2 deletions

0 commit comments

Comments
 (0)