| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/socket/openssl_ssl_util.h" | 5 #include "net/ssl/openssl_ssl_util.h" |
| 6 | 6 |
| 7 #include <openssl/err.h> | 7 #include <openssl/err.h> |
| 8 #include <openssl/ssl.h> | 8 #include <openssl/ssl.h> |
| 9 | 9 |
| 10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| 11 #include "base/location.h" | 11 #include "base/location.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "crypto/openssl_util.h" | 13 #include "crypto/openssl_util.h" |
| 14 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
| 15 | 15 |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 } while (error_code != 0); | 191 } while (error_code != 0); |
| 192 return ERR_SSL_PROTOCOL_ERROR; | 192 return ERR_SSL_PROTOCOL_ERROR; |
| 193 default: | 193 default: |
| 194 // TODO(joth): Implement full mapping. | 194 // TODO(joth): Implement full mapping. |
| 195 LOG(WARNING) << "Unknown OpenSSL error " << err; | 195 LOG(WARNING) << "Unknown OpenSSL error " << err; |
| 196 return ERR_SSL_PROTOCOL_ERROR; | 196 return ERR_SSL_PROTOCOL_ERROR; |
| 197 } | 197 } |
| 198 } | 198 } |
| 199 | 199 |
| 200 } // namespace net | 200 } // namespace net |
| OLD | NEW |