Skip to content
Snippets Groups Projects
Commit 8658b178 authored by murgatroid99's avatar murgatroid99
Browse files

Fixed minor Node compilation issue

parent cec42984
No related branches found
No related tags found
No related merge requests found
...@@ -146,7 +146,9 @@ NAN_METHOD(ServerCredentials::CreateSsl) { ...@@ -146,7 +146,9 @@ NAN_METHOD(ServerCredentials::CreateSsl) {
"createSsl's second argument must be a list of objects"); "createSsl's second argument must be a list of objects");
} }
grpc_ssl_client_certificate_request_type client_certificate_request; // Default to not requesting the client certificate
grpc_ssl_client_certificate_request_type client_certificate_request =
GRPC_SSL_DONT_REQUEST_CLIENT_CERTIFICATE;
if (info[2]->IsBoolean()) { if (info[2]->IsBoolean()) {
client_certificate_request = client_certificate_request =
Nan::To<bool>(info[2]).FromJust() Nan::To<bool>(info[2]).FromJust()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment