| Index: net/socket/openssl_ssl_util.h
|
| diff --git a/net/socket/openssl_ssl_util.h b/net/socket/openssl_ssl_util.h
|
| deleted file mode 100644
|
| index 948a8ab7235d34abeee14b31a58e233bba538272..0000000000000000000000000000000000000000
|
| --- a/net/socket/openssl_ssl_util.h
|
| +++ /dev/null
|
| @@ -1,40 +0,0 @@
|
| -// Copyright 2014 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.
|
| -
|
| -#ifndef NET_SOCKET_OPENSSL_SSL_UTIL_H_
|
| -#define NET_SOCKET_OPENSSL_SSL_UTIL_H_
|
| -
|
| -namespace crypto {
|
| -class OpenSSLErrStackTracer;
|
| -}
|
| -
|
| -namespace tracked_objects {
|
| -class Location;
|
| -}
|
| -
|
| -namespace net {
|
| -
|
| -// Puts a net error, |err|, on the error stack in OpenSSL. The file and line are
|
| -// extracted from |posted_from|. The function code of the error is left as 0.
|
| -void OpenSSLPutNetError(const tracked_objects::Location& posted_from, int err);
|
| -
|
| -// Utility to construct the appropriate set & clear masks for use the OpenSSL
|
| -// options and mode configuration functions. (SSL_set_options etc)
|
| -struct SslSetClearMask {
|
| - SslSetClearMask();
|
| - void ConfigureFlag(long flag, bool state);
|
| -
|
| - long set_mask;
|
| - long clear_mask;
|
| -};
|
| -
|
| -// Converts an OpenSSL error code into a net error code, walking the OpenSSL
|
| -// error stack if needed. Note that |tracer| is not currently used in the
|
| -// implementation, but is passed in anyway as this ensures the caller will clear
|
| -// any residual codes left on the error stack.
|
| -int MapOpenSSLError(int err, const crypto::OpenSSLErrStackTracer& tracer);
|
| -
|
| -} // namespace net
|
| -
|
| -#endif // NET_SOCKET_OPENSSL_SSL_UTIL_H_
|
|
|