Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls_wrap.cc')
-rw-r--r--src/tls_wrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls_wrap.cc b/src/tls_wrap.cc
index 792d3ea79ce..04c035a1e8f 100644
--- a/src/tls_wrap.cc
+++ b/src/tls_wrap.cc
@@ -1143,7 +1143,7 @@ unsigned int TLSWrap::PskServerCallback(SSL* s,
HandleScope scope(isolate);
MaybeLocal<String> maybe_identity_str =
- v8::String::NewFromUtf8(isolate, identity, v8::NewStringType::kNormal);
+ String::NewFromUtf8(isolate, identity);
v8::Local<v8::String> identity_str;
if (!maybe_identity_str.ToLocal(&identity_str)) return 0;