mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-02-21 17:33:19 +03:00
17 lines
414 B
C++
17 lines
414 B
C++
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "crypto/secure_util.h"
|
|
|
|
#include "third_party/boringssl/src/include/openssl/mem.h"
|
|
|
|
namespace crypto {
|
|
|
|
bool SecureMemEqual(const void* s1, const void* s2, size_t n) {
|
|
return CRYPTO_memcmp(s1, s2, n) == 0;
|
|
}
|
|
|
|
} // namespace crypto
|
|
|