certsync: Please test patches on systems < 10.9

Joshua Root jmr at macports.org
Sun Aug 31 20:35:21 PDT 2014


On 2014-8-30 19:54 , Clemens Lang wrote:
> Hi,
> 
>> Builds without warnings on Leopard but fails to run:
>>
>> $ ./certsync
>> Failed to extract certificate description for untrusted certificate:
>> Error Domain=NSOSStatusErrorDomain Code=-25303 UserInfo=0x14d350
>> "SecCertificateCopyCommonName() failed" ( / The attribute does not exist.)
>> Segmentation fault
>>
>> Crash log attached.
> 
> I think that's because of an incorrect addition to the autorelease pool.
> Please try again after r124889.
> 
> 
>> Some warnings on Tiger, but it builds and seems to work.
>>
>> certsync.m: In function 'certificatesForTrustDomain':
>> certsync.m:298: warning: implicit declaration of function
>> 'SecTrustSettingsCopyTrustSettings'
>> certsync.m: In function 'exportCertificates':
>> certsync.m:406: warning: implicit declaration of function
>> 'SecCopyErrorMessageString'
>> certsync.m:406: warning: passing argument 1 of 'PLCFAutorelease' makes
>> pointer from integer without a cast
>> certsync.m:426: warning: passing argument 1 of 'PLCFAutorelease' makes
>> pointer from integer without a cast
> 
> OK, seems I'm missing some includes. Will take a look.

Both look good now.

- Josh


More information about the macports-dev mailing list