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

Side by Side Diff: net/third_party/nss/ssl/ssltrace.c

Issue 14522022: Update NSS libSSL to NSS_3_15_BETA2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Make the changes rsleevi suggested Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Functions to trace SSL protocol behavior in DEBUG builds. 2 * Functions to trace SSL protocol behavior in DEBUG builds.
3 * 3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public 4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 /* $Id: ssltrace.c,v 1.5 2012/04/25 14:50:12 gerv%gerv.net Exp $ */ 7 /* $Id$ */
8 #include <stdarg.h> 8 #include <stdarg.h>
9 #include "cert.h" 9 #include "cert.h"
10 #include "ssl.h" 10 #include "ssl.h"
11 #include "sslimpl.h" 11 #include "sslimpl.h"
12 #include "sslproto.h" 12 #include "sslproto.h"
13 #include "prprf.h" 13 #include "prprf.h"
14 14
15 #if defined(DEBUG) || defined(TRACE) 15 #if defined(DEBUG) || defined(TRACE)
16 static const char *hex = "0123456789abcdef"; 16 static const char *hex = "0123456789abcdef";
17 17
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 if (ssl_trace_iob) { 235 if (ssl_trace_iob) {
236 va_start(args, format); 236 va_start(args, format);
237 PR_vsnprintf(buf, sizeof(buf), format, args); 237 PR_vsnprintf(buf, sizeof(buf), format, args);
238 va_end(args); 238 va_end(args);
239 239
240 fputs(buf, ssl_trace_iob); 240 fputs(buf, ssl_trace_iob);
241 fputs("\n", ssl_trace_iob); 241 fputs("\n", ssl_trace_iob);
242 } 242 }
243 } 243 }
244 #endif 244 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698