summaryrefslogtreecommitdiff
path: root/src/node_crypto_clienthello.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_crypto_clienthello.h')
-rw-r--r--src/node_crypto_clienthello.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/node_crypto_clienthello.h b/src/node_crypto_clienthello.h
index 3ebcead0c3..33048c2a60 100644
--- a/src/node_crypto_clienthello.h
+++ b/src/node_crypto_clienthello.h
@@ -25,23 +25,23 @@
#include "node.h"
#include <stddef.h> // size_t
-#include <stdlib.h> // NULL
+#include <stdlib.h> // nullptr
namespace node {
class ClientHelloParser {
public:
ClientHelloParser() : state_(kEnded),
- onhello_cb_(NULL),
- onend_cb_(NULL),
- cb_arg_(NULL),
+ onhello_cb_(nullptr),
+ onend_cb_(nullptr),
+ cb_arg_(nullptr),
session_size_(0),
- session_id_(NULL),
+ session_id_(nullptr),
servername_size_(0),
- servername_(NULL),
+ servername_(nullptr),
ocsp_request_(0),
tls_ticket_size_(0),
- tls_ticket_(NULL) {
+ tls_ticket_(nullptr) {
Reset();
}