| Index: net/ocsp/nss_ocsp.cc
|
| diff --git a/net/ocsp/nss_ocsp.cc b/net/ocsp/nss_ocsp.cc
|
| index bd6a70bf94190e1749d49ca9d72ef1ee6bb089ec..d9b1a2698e2b6bfc08351d9ea9c913b060635d0f 100644
|
| --- a/net/ocsp/nss_ocsp.cc
|
| +++ b/net/ocsp/nss_ocsp.cc
|
| @@ -4,11 +4,11 @@
|
|
|
| #include "net/ocsp/nss_ocsp.h"
|
|
|
| -#include <certt.h>
|
| #include <certdb.h>
|
| -#include <ocsp.h>
|
| +#include <certt.h>
|
| #include <nspr.h>
|
| #include <nss.h>
|
| +#include <ocsp.h>
|
| #include <secerr.h>
|
|
|
| #include <string>
|
| @@ -20,6 +20,7 @@
|
| #include "base/message_loop.h"
|
| #include "base/singleton.h"
|
| #include "base/string_util.h"
|
| +#include "base/stringprintf.h"
|
| #include "base/thread.h"
|
| #include "base/time.h"
|
| #include "googleurl/src/gurl.h"
|
| @@ -448,11 +449,11 @@ class OCSPServerSession {
|
|
|
| // TODO(ukai): If |host| is an IPv6 literal, we need to quote it with
|
| // square brackets [].
|
| - std::string url_string(StringPrintf("%s://%s:%d%s",
|
| - http_protocol_variant,
|
| - host_.c_str(),
|
| - port_,
|
| - path_and_query_string));
|
| + std::string url_string(base::StringPrintf("%s://%s:%d%s",
|
| + http_protocol_variant,
|
| + host_.c_str(),
|
| + port_,
|
| + path_and_query_string));
|
| LOG(INFO) << "URL [" << url_string << "]";
|
| GURL url(url_string);
|
| return new OCSPRequestSession(
|
|
|