diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2019-01-25 10:38:41 -0800 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-01-29 00:23:51 +0100 |
commit | dd317fc1c866297f5c91a14a8b26525b8120288f (patch) | |
tree | 17408d4d792c650f72acb8e5592cce01c419f0f2 /src/stream_wrap.cc | |
parent | 08100bf632bd8a66442542abc64c693878a1d6a6 (diff) | |
download | android-node-v8-dd317fc1c866297f5c91a14a8b26525b8120288f.tar.gz android-node-v8-dd317fc1c866297f5c91a14a8b26525b8120288f.tar.bz2 android-node-v8-dd317fc1c866297f5c91a14a8b26525b8120288f.zip |
src: remove unnecessary call to SSL_get_mode
SSL_set_mode() bit-ORs its argument into the current mode, its not
necessary for to do it ourself (though it doesn't cause harm).
See:
- https://www.openssl.org/docs/man1.1.0/ssl/SSL_set_mode.html
- https://github.com/nodejs/node/blob/0ce615c4af/deps/openssl/openssl/ssl/ssl_lib.c#L2176-L2177
PR-URL: https://github.com/nodejs/node/pull/25711
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/stream_wrap.cc')
0 files changed, 0 insertions, 0 deletions