summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-06 19:17:36 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-06 19:17:36 +0000
commitfb10ca02ba9a76aaf8d59816fdcd9c9c7c1d2793 (patch)
tree7382f0cf7d30322f884d3152e048511b43ca23da /net/base
parent778f1e624024b1024000f4b5d4c92a1a7a8f203c (diff)
downloadchromium_src-fb10ca02ba9a76aaf8d59816fdcd9c9c7c1d2793.zip
chromium_src-fb10ca02ba9a76aaf8d59816fdcd9c9c7c1d2793.tar.gz
chromium_src-fb10ca02ba9a76aaf8d59816fdcd9c9c7c1d2793.tar.bz2
OpenSSL component build fixes.
BUG=none TEST=build with component=shared_library use_openssl=1 Review URL: http://codereview.chromium.org/8166003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104342 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/x509_util_openssl.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/net/base/x509_util_openssl.h b/net/base/x509_util_openssl.h
index 7faa008..fbe6336 100644
--- a/net/base/x509_util_openssl.h
+++ b/net/base/x509_util_openssl.h
@@ -12,6 +12,8 @@
#include <string>
#include <vector>
+#include "net/base/net_export.h"
+
namespace base {
class Time;
} // namespace base
@@ -22,16 +24,20 @@ namespace net {
// into more convenient std / base datatypes.
namespace x509_util {
-bool ParsePrincipalKeyAndValueByIndex(X509_NAME* name,
- int index,
- std::string* key,
- std::string* value);
+bool NET_EXPORT ParsePrincipalKeyAndValueByIndex(X509_NAME* name,
+ int index,
+ std::string* key,
+ std::string* value);
-bool ParsePrincipalValueByIndex(X509_NAME* name, int index, std::string* value);
+bool NET_EXPORT ParsePrincipalValueByIndex(X509_NAME* name,
+ int index,
+ std::string* value);
-bool ParsePrincipalValueByNID(X509_NAME* name, int nid, std::string* value);
+bool NET_EXPORT ParsePrincipalValueByNID(X509_NAME* name,
+ int nid,
+ std::string* value);
-bool ParseDate(ASN1_TIME* x509_time, base::Time* time);
+bool NET_EXPORT ParseDate(ASN1_TIME* x509_time, base::Time* time);
} // namespace x509_util