diff options
author | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-12 17:56:41 +0000 |
---|---|---|
committer | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-12 17:56:41 +0000 |
commit | 1bf23421a09040259569e71027dd0400a3aae9ed (patch) | |
tree | 39db066cc3593385e291a1046cd299774968a5ce /ppapi/tests | |
parent | 236ca9fbfa1cc341bb185a74a7c390912e51cb71 (diff) | |
download | chromium_src-1bf23421a09040259569e71027dd0400a3aae9ed.zip chromium_src-1bf23421a09040259569e71027dd0400a3aae9ed.tar.gz chromium_src-1bf23421a09040259569e71027dd0400a3aae9ed.tar.bz2 |
Fixed some PP_X509Certificate_Private_Field enum values.
-Added PP_X509CERTIFICATE_PRIVATE_SUBJECT_DISTINGUISHED_NAME/PP_X509CERTIFICATE_PRIVATE_ISSUER_DISTINGUISHED_NAME which I had missed originally.
-Renamed:
PP_X509CERTIFICATE_PRIVATE_ALGORITHM_OID -> PP_X509CERTIFICATE_PRIVATE_SIGNATURE_ALGORITHM_OID
PP_X509CERTIFICATE_PRIVATE_ALGORITHM_PARAMATERS_RAW -> PP_X509CERTIFICATE_PRIVATE_SIGNATURE_ALGORITHM_PARAMATERS_RAW
To be in-line with the flash names.
This also fixes a bug in the tcp socket shared implementation which allows a resource to be released in a callback, before it is finished cleaning up.
BUG=114626
TEST=out/Debug/browser_tests --gtest_filter=*PPAPITest.*X509Certificate*
Review URL: http://codereview.chromium.org/10006048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/tests')
-rw-r--r-- | ppapi/tests/test_x509_certificate_private.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ppapi/tests/test_x509_certificate_private.cc b/ppapi/tests/test_x509_certificate_private.cc index a8bf649..6aee30f 100644 --- a/ppapi/tests/test_x509_certificate_private.cc +++ b/ppapi/tests/test_x509_certificate_private.cc @@ -199,11 +199,15 @@ std::string TestX509CertificatePrivate::TestValidCertificate() { ASSERT_TRUE(FieldIsNull(certificate, PP_X509CERTIFICATE_PRIVATE_ISSUER_UNIQUE_ID)); ASSERT_TRUE(FieldIsNull(certificate, + PP_X509CERTIFICATE_PRIVATE_SUBJECT_DISTINGUISHED_NAME)); + ASSERT_TRUE(FieldIsNull(certificate, + PP_X509CERTIFICATE_PRIVATE_ISSUER_DISTINGUISHED_NAME)); + ASSERT_TRUE(FieldIsNull(certificate, PP_X509CERTIFICATE_PRIVATE_VERSION)); ASSERT_TRUE(FieldIsNull(certificate, - PP_X509CERTIFICATE_PRIVATE_ALGORITHM_OID)); + PP_X509CERTIFICATE_PRIVATE_SIGNATURE_ALGORITHM_OID)); ASSERT_TRUE(FieldIsNull(certificate, - PP_X509CERTIFICATE_PRIVATE_ALGORITHM_PARAMATERS_RAW)); + PP_X509CERTIFICATE_PRIVATE_SIGNATURE_ALGORITHM_PARAMATERS_RAW)); ASSERT_TRUE(FieldIsNull(certificate, PP_X509CERTIFICATE_PRIVATE_SUBJECT_PUBLIC_KEY)); |