#include "frmEditAccount.h"
-int frmEditAccount::DisplayTrustPanel(CardDAV *Connection){
+int frmEditAccount::DisplayTrustPanel(ConnectionObject *Connection){
NSInteger ResultValue;
[secpanel setParentWindow:(NSWindow*)this->GetHandle()];
- ResultValue = [secpanel runModalForTrust:Connection->GetTrustObject() message:@"Certificate not trusted"];
+ ResultValue = [secpanel runModalForTrust:Connection->BuildSSLCollection() message:@"Certificate not trusted"];
return (int)ResultValue;
-}
\ No newline at end of file
+}