0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Weijia Wang 43e7e8d106
crypto: remove useless if statement
The if statement in `ECDH.getPublicKey` is useless. This change
is to remove it.

PR-URL: https://github.com/nodejs/node/pull/15041
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
2017-10-01 23:31:43 -03:00
..
internal crypto: remove useless if statement 2017-10-01 23:31:43 -03:00
_http_agent.js http: client keep-alive for UNIX domain sockets 2017-09-27 18:31:17 -07:00
_http_client.js http: client keep-alive for UNIX domain sockets 2017-09-27 18:31:17 -07:00
_http_common.js lib: implement async_hooks API in core 2017-05-10 22:22:29 +02:00
_http_incoming.js http: suppress data event if req aborted 2017-05-31 10:39:17 +02:00
_http_outgoing.js http: revert #14024 writable is never set to false 2017-09-20 11:32:29 +02:00
_http_server.js errors: migrate _http_outgoing 2017-08-14 17:19:19 -04:00
_stream_duplex.js stream: add destroy and _destroy methods. 2017-05-22 08:34:14 +02:00
_stream_passthrough.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
_stream_readable.js stream: fix todo 2017-10-01 20:38:18 -03:00
_stream_transform.js stream: migrate to internal/errors 2017-10-01 20:37:00 -03:00
_stream_wrap.js uv: improvements to process.binding('uv') 2017-08-23 10:51:15 -07:00
_stream_writable.js stream: migrate to internal/errors 2017-10-01 20:37:00 -03:00
_tls_common.js tls: deprecate parseCertString & move to internal 2017-09-13 16:54:35 -03:00
_tls_legacy.js doc, lib, test: do not re-require needlessly 2017-07-21 20:40:52 +03:00
_tls_wrap.js tls: prefer path over port in connect 2017-09-22 16:30:24 -07:00
.eslintrc.yaml tools: remove legacy indentation linting 2017-07-30 09:21:52 -07:00
assert.js assert: handle enumerable symbol keys 2017-09-19 20:13:02 -03:00
async_hooks.js async_hooks: consistent internal naming 2017-09-26 15:50:10 +02:00
buffer.js buffer: improve Buffer.from performance 2017-09-11 00:05:28 -03:00
child_process.js child_process: set shell to false in fork() 2017-09-13 21:03:39 -04:00
cluster.js lib: use consistent indentation for ternaries 2017-07-07 06:57:16 -07:00
console.js console: improve console.group() 2017-08-25 11:29:33 -07:00
constants.js src: add support to pass flags to dlopen 2017-09-08 17:14:03 -04:00
crypto.js crypto: expose ECDH class 2017-09-27 13:42:30 -07:00
dgram.js dgram: refactor SO_RCVBUF and SO_SNDBUF methods 2017-09-22 09:35:50 -04:00
dns.js dns: add verbatim option to dns.lookup() 2017-08-23 14:53:47 -07:00
domain.js domain: remove .dispose() 2017-09-20 10:45:33 -03:00
events.js lib: update indentation of ternaries 2017-07-17 22:09:46 -07:00
fs.js fs: refactor close to use destroy 2017-09-21 09:09:05 +02:00
http2.js http2: refactor error handling 2017-08-28 00:39:42 +04:00
http.js http: use more efficient module.exports pattern 2017-03-20 16:01:31 -07:00
https.js https: convert to using internal/errors 2017-09-28 22:53:16 -07:00
inspector.js inspector: log exceptions in message handlers 2017-09-07 14:46:53 -07:00
module.js module: deprecate Module._debug 2017-09-22 21:03:29 -03:00
net.js child_process: fix memory leak in .fork() 2017-09-30 22:18:29 -07:00
os.js os: make EOL configurable and read only 2017-08-21 00:23:24 -04:00
path.js path: fix normalize paths ending with two dots 2017-09-26 14:59:54 -07:00
perf_hooks.js perf_hooks: implementation of the perf timing API 2017-08-23 16:00:09 -07:00
process.js src: remove excessive license boilerplate 2015-01-27 16:35:05 +11:00
punycode.js lib: remove let from for loops 2016-10-04 12:17:32 -04:00
querystring.js querystring: avoid indexOf when parsing 2017-08-09 14:03:48 -04:00
readline.js lib: use Timer.now() in readline module 2017-08-09 22:59:25 -07:00
repl.js repl: fix deprecation code 2017-10-01 20:39:02 -03:00
stream.js stream: support Uint8Array input to methods 2017-05-27 11:19:39 +02:00
string_decoder.js string_decoder: Migrate to use internal/errors 2017-09-13 16:59:43 -03:00
sys.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
timers.js timers: warn on overflowed timeout duration 2017-09-29 08:45:06 -07:00
tls.js tls,doc: fix unallocated deprecation code 2017-09-24 11:28:17 -03:00
tty.js tty: require readline at top of file 2017-10-01 20:24:01 -03:00
url.js url: change variable name to be more descriptive 2017-09-27 00:39:29 +02:00
util.js util: use constructor name 2017-09-19 20:24:24 -03:00
v8.js v8: add new to the throw statement 2017-06-28 20:00:42 +02:00
vm.js vm: support parsing a script in a specific context 2017-09-05 10:47:42 +08:00
zlib.js zlib: fix interaction of flushing and needDrain 2017-07-31 22:44:05 +02:00