From 1bf23421a09040259569e71027dd0400a3aae9ed Mon Sep 17 00:00:00 2001 From: "raymes@chromium.org" Date: Thu, 12 Apr 2012 17:56:41 +0000 Subject: 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 --- ppapi/tests/test_x509_certificate_private.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'ppapi/tests') 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)); -- cgit v1.1