Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Unified Diff: net/tools/flip_server/spdy_ssl.cc

Issue 1028873002: Use uint32_t to hold return values from ERR_get_error() and ERR_peek_error(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/crypto/aead_base_decrypter_openssl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/flip_server/spdy_ssl.cc
diff --git a/net/tools/flip_server/spdy_ssl.cc b/net/tools/flip_server/spdy_ssl.cc
index 19ea52e454cf70c143ce312701b006642aa7b386..b2ce2bdfe4d0447694da83895499f8581f58a122 100644
--- a/net/tools/flip_server/spdy_ssl.cc
+++ b/net/tools/flip_server/spdy_ssl.cc
@@ -103,7 +103,7 @@ SSL* CreateSSLContext(SSL_CTX* ssl_ctx) {
void PrintSslError() {
char buf[128]; // this buffer must be at least 120 chars long.
- int error_num = ERR_get_error();
+ uint32_t error_num = ERR_get_error();
while (error_num != 0) {
ERR_error_string_n(error_num, buf, sizeof(buf));
LOG(ERROR) << buf;
« no previous file with comments | « net/quic/crypto/aead_base_decrypter_openssl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698