| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -175,7 +175,7 @@ template int SSLWrap<TLSWrap>::SelectALPNCallback( | |||
| 175 | 175 | #endif // TLSEXT_TYPE_application_layer_protocol_negotiation | |
| 176 | 176 | ||
| 177 | 177 | static void crypto_threadid_cb(CRYPTO_THREADID* tid) { | |
| 178 | - static_assert(sizeof(uv_thread_t) <= sizeof(void*), // NOLINT(runtime/sizeof) | ||
| 178 | + static_assert(sizeof(uv_thread_t) <= sizeof(void*), | ||
| 179 | 179 | "uv_thread_t does not fit in a pointer"); | |
| 180 | 180 | CRYPTO_THREADID_set_pointer(tid, reinterpret_cast<void*>(uv_thread_self())); | |
| 181 | 181 | } | |
@@ -693,7 +693,7 @@ void SecureContext::AddCACert(const FunctionCallbackInfo<Value>& args) { | |||
| 693 | 693 | ||
| 694 | 694 | unsigned cert_count = 0; | |
| 695 | 695 | if (BIO* bio = LoadBIO(env, args[0])) { | |
| 696 | - while (X509* x509 = // NOLINT(whitespace/if-one-line) | ||
| 696 | + while (X509* x509 = | ||
| 697 | 697 | PEM_read_bio_X509(bio, nullptr, CryptoPemCallback, nullptr)) { | |
| 698 | 698 | X509_STORE_add_cert(sc->ca_store_, x509); | |
| 699 | 699 | SSL_CTX_add_client_CA(sc->ctx_, x509); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -992,7 +992,7 @@ int SyncProcessRunner::CopyJsStringArray(Local<Value> js_value, | |||
| 992 | 992 | data_size = 0; | |
| 993 | 993 | for (uint32_t i = 0; i < length; i++) { | |
| 994 | 994 | data_size += StringBytes::StorageSize(isolate, js_array->Get(i), UTF8) + 1; | |
| 995 | - data_size = ROUND_UP(data_size, sizeof(void*)); // NOLINT(runtime/sizeof) | ||
| 995 | + data_size = ROUND_UP(data_size, sizeof(void*)); | ||
| 996 | 996 | } | |
| 997 | 997 | ||
| 998 | 998 | buffer = new char[list_size + data_size]; | |
@@ -1008,8 +1008,7 @@ int SyncProcessRunner::CopyJsStringArray(Local<Value> js_value, | |||
| 1008 | 1008 | js_array->Get(i), | |
| 1009 | 1009 | UTF8); | |
| 1010 | 1010 | buffer[data_offset++] = '\0'; | |
| 1011 | - data_offset = ROUND_UP(data_offset, | ||
| 1012 | - sizeof(void*)); // NOLINT(runtime/sizeof) | ||
| 1011 | + data_offset = ROUND_UP(data_offset, sizeof(void*)); | ||
| 1013 | 1012 | } | |
| 1014 | 1013 | ||
| 1015 | 1014 | list[length] = nullptr; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments