[prev in list] [next in list] [prev in thread] [next in thread]
List: macports-dev
Subject: Re: certsync: Please test patches on systems < 10.9
From: Clemens Lang <cal () macports ! org>
Date: 2014-08-30 10:51:48
Message-ID: 1312817168.41342.1409395908382.JavaMail.zimbra () clang ! name
[Download RAW message or body]
Hi,
> 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
Only worked because it didn't actually use these functions:
- SecTrustSettingsCopyTrustSettings wasn't used because it is only used
in a block that's specific to >= 10.5 anyway – adding the declaration
to compat.h should have fixed that.
- SecCopyErrorMessageString would have crashed if an error actually
occured. I changed the code to avoid the function if it isn't defined.
Changes in r124891.
--
Clemens Lang
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic