| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 // Handling of certificates and keypairs for SSLStreamAdapter's peer mode. | 11 // Handling of certificates and keypairs for SSLStreamAdapter's peer mode. |
| 12 #if HAVE_CONFIG_H | |
| 13 #include "config.h" | |
| 14 #endif // HAVE_CONFIG_H | |
| 15 | |
| 16 #include "webrtc/base/sslidentity.h" | 12 #include "webrtc/base/sslidentity.h" |
| 17 | 13 |
| 18 #include <ctime> | 14 #include <ctime> |
| 19 #include <string> | 15 #include <string> |
| 20 | 16 |
| 21 #include "webrtc/base/base64.h" | 17 #include "webrtc/base/base64.h" |
| 22 #include "webrtc/base/checks.h" | 18 #include "webrtc/base/checks.h" |
| 23 #include "webrtc/base/logging.h" | 19 #include "webrtc/base/logging.h" |
| 24 #include "webrtc/base/sslconfig.h" | 20 #include "webrtc/base/sslconfig.h" |
| 25 | 21 |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 | 257 |
| 262 if (bytes_left != 1) { | 258 if (bytes_left != 1) { |
| 263 // Now just Z should remain. Its existence was asserted above. | 259 // Now just Z should remain. Its existence was asserted above. |
| 264 return -1; | 260 return -1; |
| 265 } | 261 } |
| 266 | 262 |
| 267 return TmToSeconds(tm); | 263 return TmToSeconds(tm); |
| 268 } | 264 } |
| 269 | 265 |
| 270 } // namespace rtc | 266 } // namespace rtc |
| OLD | NEW |