mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
15 lines
416 B
C++
15 lines
416 B
C++
|
// Copyright 2016 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 "net/cert/internal/cert_error_id.h"
|
||
|
|
||
|
namespace net {
|
||
|
|
||
|
const char* CertErrorIdToDebugString(CertErrorId id) {
|
||
|
// The CertErrorId is simply a pointer for a C-string literal.
|
||
|
return reinterpret_cast<const char*>(id);
|
||
|
}
|
||
|
|
||
|
} // namespace net
|