Always check the dictionary returned by SecTrustCopyExtendedResult for kSecEVOrganizationName to determine EV status of a certificate. As of 10.7.3, SecTrustCopyExtendedResult returns noErr and populates the CFDictionary even for non-EV certificates, but will only include kSecEVOrganizationName for EV certificates.
Always check the dictionary returned by SecTrustCopyExtendedResult for
kSecEVOrganizationName to determine EV status of a certificate. As of 10.7.3,
SecTrustCopyExtendedResult returns noErr and populates the CFDictionary even
for non-EV certificates, but will only include kSecEVOrganizationName for EV
certificates.

BUG=112433, 112582
TEST=Lock icon should only be shown in a green box with the organization name
     for EV certificates, such as https://www.bankofamerica.com/. Non-EV
     certificates, such as https://encrypted.google.com/, should only show a
     lock icon, but no green bubble or organization name. Certificates with no
     organization name, such as the one at https://dev.symvaro.com/ (cancel
     authentication), should not cause a crash when clicking on the lock icon
     to examine the Page Info bubble.
Review URL: https://chromiumcodereview.appspot.com/9325072

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@120599 0039d316-1c4b-4281-b951-d872f2087c98

rogerwang/chromium,ltilve/chromium,Jonekee/chromium.src,junmin-zhu/chromium-rivertrail,fujunwei/chromium-crosswalk,dednal/chromium.src,mogoweb/chromium-crosswalk,rogerwang/chromium,TheTypoMaster/chromium-crosswalk,anirudhSK/chromium,krieger-od/nwjs_chromium.src,M4sse/chromium.src,axinging/chromium-crosswalk,rogerwang/chromium,ChromiumWebApps/chromium,axinging/chromium-crosswalk,anirudhSK/chromium,hujiajie/pa-chromium,krieger-od/nwjs_chromium.src,dushu1203/chromium.src,jaruba/chromium.src,Fireblend/chromium-crosswalk,pozdnyakov/chromium-crosswalk,ondra-novak/chromium.src,zcbenz/cefode-chromium,jaruba/chromium.src,nacl-webkit/chrome_deps,crosswalk-project/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,hujiajie/pa-chromium,chuan9/chromium-crosswalk,krieger-od/nwjs_chromium.src,markYoungH/chromium.src,TheTypoMaster/chromium-crosswalk,axinging/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,timopulkkinen/BubbleFish,ChromiumWebApps/chromium,junmin-zhu/chromium-rivertrail,rogerwang/chromium,Just-D/chromium-1,chuan9/chromium-crosswalk,patrickm/chromium.src,krieger-od/nwjs_chromium.src,mohamed--abdel-maksoud/chromium.src,markYoungH/chromium.src,mogoweb/chromium-crosswalk,ChromiumWebApps/chromium,Just-D/chromium-1,nacl-webkit/chrome_deps,patrickm/chromium.src,timopulkkinen/BubbleFish,anirudhSK/chromium,pozdnyakov/chromium-crosswalk,anirudhSK/chromium,hgl888/chromium-crosswalk,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk-efl,anirudhSK/chromium,keishi/chromium,Just-D/chromium-1,zcbenz/cefode-chromium,ltilve/chromium,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,robclark/chromium,Chilledheart/chromium,robclark/chromium,anirudhSK/chromium,zcbenz/cefode-chromium,krieger-od/nwjs_chromium.src,Just-D/chromium-1,dednal/chromium.src,hgl888/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,pozdnyakov/chromium-crosswalk,jaruba/chromium.src,timopulkkinen/BubbleFish,rogerwang/chromium,PeterWangIntel/chromium-crosswalk,dushu1203/chromium.src,M4sse/chromium.src,axinging/chromium-crosswalk,ltilve/chromium,pozdnyakov/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Jonekee/chromium.src,Jonekee/chromium.src,ChromiumWebApps/chromium,hgl888/chromium-crosswalk-efl,keishi/chromium,junmin-zhu/chromium-rivertrail,Jonekee/chromium.src,rogerwang/chromium,krieger-od/nwjs_chromium.src,dednal/chromium.src,timopulkkinen/BubbleFish,PeterWangIntel/chromium-crosswalk,patrickm/chromium.src,Fireblend/chromium-crosswalk,M4sse/chromium.src,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,crosswalk-project/chromium-crosswalk-efl,nacl-webkit/chrome_deps,chuan9/chromium-crosswalk,hujiajie/pa-chromium,dednal/chromium.src,littlstar/chromium.src,ondra-novak/chromium.src,ChromiumWebApps/chromium,robclark/chromium,Pluto-tv/chromium-crosswalk,krieger-od/nwjs_chromium.src,chuan9/chromium-crosswalk,nacl-webkit/chrome_deps,chuan9/chromium-crosswalk,timopulkkinen/BubbleFish,krieger-od/nwjs_chromium.src,hujiajie/pa-chromium,ChromiumWebApps/chromium,chuan9/chromium-crosswalk,fujunwei/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,nacl-webkit/chrome_deps,Jonekee/chromium.src,Chilledheart/chromium,Pluto-tv/chromium-crosswalk,littlstar/chromium.src,ondra-novak/chromium.src,Chilledheart/chromium,bright-sparks/chromium-spacewalk,crosswalk-project/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,bright-sparks/chromium-spacewalk,axinging/chromium-crosswalk,Chilledheart/chromium,Fireblend/chromium-crosswalk,littlstar/chromium.src,hgl888/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,ltilve/chromium,littlstar/chromium.src,hgl888/chromium-crosswalk-efl,chuan9/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,ondra-novak/chromium.src,pozdnyakov/chromium-crosswalk,nacl-webkit/chrome_deps,jaruba/chromium.src,mogoweb/chromium-crosswalk,dednal/chromium.src,junmin-zhu/chromium-rivertrail,Jonekee/chromium.src,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk,Chilledheart/chromium,hgl888/chromium-crosswalk-efl,keishi/chromium,dednal/chromium.src,mogoweb/chromium-crosswalk,keishi/chromium,rogerwang/chromium,ltilve/chromium,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,dednal/chromium.src,chuan9/chromium-crosswalk,dushu1203/chromium.src,Fireblend/chromium-crosswalk,Jonekee/chromium.src,hujiajie/pa-chromium,Fireblend/chromium-crosswalk,mogoweb/chromium-crosswalk,Fireblend/chromium-crosswalk,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,nacl-webkit/chrome_deps,hujiajie/pa-chromium,junmin-zhu/chromium-rivertrail,junmin-zhu/chromium-rivertrail,jaruba/chromium.src,rogerwang/chromium,ondra-novak/chromium.src,keishi/chromium,ChromiumWebApps/chromium,ondra-novak/chromium.src,bright-sparks/chromium-spacewalk,mohamed--abdel-maksoud/chromium.src,nacl-webkit/chrome_deps,littlstar/chromium.src,zcbenz/cefode-chromium,Pluto-tv/chromium-crosswalk,anirudhSK/chromium,Jonekee/chromium.src,ondra-novak/chromium.src,crosswalk-project/chromium-crosswalk-efl,jaruba/chromium.src,zcbenz/cefode-chromium,axinging/chromium-crosswalk,mogoweb/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Just-D/chromium-1,dednal/chromium.src,mohamed--abdel-maksoud/chromium.src,junmin-zhu/chromium-rivertrail,timopulkkinen/BubbleFish,robclark/chromium,Pluto-tv/chromium-crosswalk,ondra-novak/chromium.src,ChromiumWebApps/chromium,axinging/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,dednal/chromium.src,hgl888/chromium-crosswalk-efl,dednal/chromium.src,zcbenz/cefode-chromium,jaruba/chromium.src,hgl888/chromium-crosswalk,nacl-webkit/chrome_deps,hujiajie/pa-chromium,M4sse/chromium.src,ChromiumWebApps/chromium,PeterWangIntel/chromium-crosswalk,Chilledheart/chromium,bright-sparks/chromium-spacewalk,krieger-od/nwjs_chromium.src,patrickm/chromium.src,robclark/chromium,crosswalk-project/chromium-crosswalk-efl,hujiajie/pa-chromium,markYoungH/chromium.src,ondra-novak/chromium.src,Jonekee/chromium.src,ltilve/chromium,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,junmin-zhu/chromium-rivertrail,mohamed--abdel-maksoud/chromium.src,dushu1203/chromium.src,hujiajie/pa-chromium,anirudhSK/chromium,keishi/chromium,axinging/chromium-crosswalk,anirudhSK/chromium,robclark/chromium,dushu1203/chromium.src,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,dushu1203/chromium.src,Just-D/chromium-1,mogoweb/chromium-crosswalk,pozdnyakov/chromium-crosswalk,dushu1203/chromium.src,ltilve/chromium,markYoungH/chromium.src,markYoungH/chromium.src,markYoungH/chromium.src,ChromiumWebApps/chromium,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk,keishi/chromium,anirudhSK/chromium,markYoungH/chromium.src,M4sse/chromium.src,TheTypoMaster/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,bright-sparks/chromium-spacewalk,fujunwei/chromium-crosswalk,M4sse/chromium.src,fujunwei/chromium-crosswalk,markYoungH/chromium.src,mogoweb/chromium-crosswalk,zcbenz/cefode-chromium,patrickm/chromium.src,ltilve/chromium,crosswalk-project/chromium-crosswalk-efl,M4sse/chromium.src,M4sse/chromium.src,jaruba/chromium.src,patrickm/chromium.src,mohamed--abdel-maksoud/chromium.src,krieger-od/nwjs_chromium.src,M4sse/chromium.src,hujiajie/pa-chromium,markYoungH/chromium.src,Chilledheart/chromium,nacl-webkit/chrome_deps,crosswalk-project/chromium-crosswalk-efl,timopulkkinen/BubbleFish,ltilve/chromium,anirudhSK/chromium,mohamed--abdel-maksoud/chromium.src,pozdnyakov/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,timopulkkinen/BubbleFish,keishi/chromium,mohamed--abdel-maksoud/chromium.src,littlstar/chromium.src,keishi/chromium,PeterWangIntel/chromium-crosswalk,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,markYoungH/chromium.src,chuan9/chromium-crosswalk,timopulkkinen/BubbleFish,bright-sparks/chromium-spacewalk,fujunwei/chromium-crosswalk,ChromiumWebApps/chromium,dednal/chromium.src,krieger-od/nwjs_chromium.src,hgl888/chromium-crosswalk,bright-sparks/chromium-spacewalk,robclark/chromium,hgl888/chromium-crosswalk,robclark/chromium,dushu1203/chromium.src,hgl888/chromium-crosswalk,markYoungH/chromium.src,pozdnyakov/chromium-crosswalk,robclark/chromium,fujunwei/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,nacl-webkit/chrome_deps,axinging/chromium-crosswalk,rogerwang/chromium,pozdnyakov/chromium-crosswalk,Just-D/chromium-1,timopulkkinen/BubbleFish,jaruba/chromium.src,Jonekee/chromium.src,ChromiumWebApps/chromium,patrickm/chromium.src,TheTypoMaster/chromium-crosswalk,keishi/chromium,patrickm/chromium.src,littlstar/chromium.src,dushu1203/chromium.src,jaruba/chromium.src,littlstar/chromium.src,M4sse/chromium.src,dushu1203/chromium.src,PeterWangIntel/chromium-crosswalk,pozdnyakov/chromium-crosswalk,dushu1203/chromium.src,rogerwang/chromium,Chilledheart/chromium,Just-D/chromium-1,zcbenz/cefode-chromium,zcbenz/cefode-chromium,jaruba/chromium.src,anirudhSK/chromium,keishi/chromium,axinging/chromium-crosswalk,robclark/chromium,PeterWangIntel/chromium-crosswalk,Fireblend/chromium-crosswalk,patrickm/chromium.src,Chilledheart/chromium,junmin-zhu/chromium-rivertrail,junmin-zhu/chromium-rivertrail,fujunwei/chromium-crosswalk,bright-sparks/chromium-spacewalk,mogoweb/chromium-crosswalk,fujunwei/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,Just-D/chromium-1,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk,hujiajie/pa-chromium