certsync: Please test patches on systems < 10.9

Clemens Lang cal at macports.org
Sat Aug 30 02:54:18 PDT 2014


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.

-- 
Clemens Lang


More information about the macports-dev mailing list