equal
deleted
inserted
replaced
210 // CServerAuthFailOperation::CServerAuthFailOperation() |
210 // CServerAuthFailOperation::CServerAuthFailOperation() |
211 // --------------------------------------------------------------------------- |
211 // --------------------------------------------------------------------------- |
212 // |
212 // |
213 CServerAuthFailOperation::CServerAuthFailOperation( |
213 CServerAuthFailOperation::CServerAuthFailOperation( |
214 MSecurityDialogOperationObserver& aObserver, const RMessage2& aMessage, |
214 MSecurityDialogOperationObserver& aObserver, const RMessage2& aMessage, |
215 TInt aReplySlot ) : CSecurityDialogOperation( aObserver, aMessage, aReplySlot ) |
215 TInt aReplySlot ) : CSecurityDialogOperation( aObserver, aMessage, aReplySlot ), |
|
216 iRetrievedCertBufPtr(0, 0) |
216 { |
217 { |
217 TRACE( "CServerAuthFailOperation::CServerAuthFailOperation" ); |
218 TRACE( "CServerAuthFailOperation::CServerAuthFailOperation" ); |
218 } |
219 } |
219 |
220 |
220 // --------------------------------------------------------------------------- |
221 // --------------------------------------------------------------------------- |
455 { |
456 { |
456 delete iRetrievedCertBuffer; |
457 delete iRetrievedCertBuffer; |
457 iRetrievedCertBuffer = NULL; |
458 iRetrievedCertBuffer = NULL; |
458 } |
459 } |
459 iRetrievedCertBuffer = HBufC8::NewL( cert.Size() ); |
460 iRetrievedCertBuffer = HBufC8::NewL( cert.Size() ); |
460 TPtr8 buffer = iRetrievedCertBuffer->Des(); |
461 iRetrievedCertBufPtr.Set( iRetrievedCertBuffer->Des() ); |
461 |
462 |
462 iTrustedSiteCertStore->Retrieve( cert, buffer, iStatus ); |
463 iTrustedSiteCertStore->Retrieve( cert, iRetrievedCertBufPtr, iStatus ); |
463 iMode = ERetrieveTrustedSiteCert; |
464 iMode = ERetrieveTrustedSiteCert; |
464 SetActive(); |
465 SetActive(); |
465 } |
466 } |
466 else |
467 else |
467 { |
468 { |