| 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 <errno.h> | 7 #include <errno.h> |
| 8 | 8 |
| 9 #include <openssl/err.h> | 9 #include <openssl/err.h> |
| 10 #include <openssl/ssl.h> | 10 #include <openssl/ssl.h> |
| 11 | 11 |
| 12 #include "base/lazy_instance.h" | 12 #include "base/lazy_instance.h" |
| 13 #include "base/location.h" | 13 #include "base/location.h" |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "crypto/openssl_util.h" | 15 #include "crypto/openssl_util.h" |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 } while (error_code != 0); | 193 } while (error_code != 0); |
| 194 return ERR_SSL_PROTOCOL_ERROR; | 194 return ERR_SSL_PROTOCOL_ERROR; |
| 195 default: | 195 default: |
| 196 // TODO(joth): Implement full mapping. | 196 // TODO(joth): Implement full mapping. |
| 197 LOG(WARNING) << "Unknown OpenSSL error " << err; | 197 LOG(WARNING) << "Unknown OpenSSL error " << err; |
| 198 return ERR_SSL_PROTOCOL_ERROR; | 198 return ERR_SSL_PROTOCOL_ERROR; |
| 199 } | 199 } |
| 200 } | 200 } |
| 201 | 201 |
| 202 } // namespace net | 202 } // namespace net |
| OLD | NEW |