diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-06 19:17:36 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-06 19:17:36 +0000 |
commit | fb10ca02ba9a76aaf8d59816fdcd9c9c7c1d2793 (patch) | |
tree | 7382f0cf7d30322f884d3152e048511b43ca23da /net/base | |
parent | 778f1e624024b1024000f4b5d4c92a1a7a8f203c (diff) | |
download | chromium_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.h | 20 |
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 |