Adium

Changeset 21888

Show
Ignore:
Timestamp:
12/12/2007 07:51:05 AM (1 year ago)
Author:
am
Message:

The certificate was tested as a client certificate, not a server certificate. This was ok for some certificates, but not all of them.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Plugins/Purple Service/AIPurpleCertificateTrustWarningAlert.m

    r21850 r21888  
    114114                .ServerNameLen = [hostname length]+1, 
    115115                .ServerName = [hostname cStringUsingEncoding:NSASCIIStringEncoding], 
    116                 .Flags = CSSM_APPLE_TP_SSL_CLIENT 
     116                .Flags = 0 
    117117        }; 
    118118         
     
    145145                                [self release]; 
    146146                                break; 
     147                                 
    147148                        case kSecTrustResultConfirm: // trust ok, but user asked (earlier) that you check with him before proceeding 
    148149                        case kSecTrustResultDeny: // trust ok, but user previously said not to trust it anyway