[CMake] SecTrustEvaluateAsync != NULL

Sean McBride sean at rogue-research.com
Thu Aug 18 12:45:08 EDT 2016


On Thu, 18 Aug 2016 09:27:43 -0600, Laura Fowler said:

>
>/Users/LauraLaptop/InstalledSoftwares/sourcecode/cmake-3.6.1/Utilities/
>cmcurl/lib/vtls/darwinssl.c:1999:6:
>error: ‘SecTrustEvaluateAsync’ undeclared (first use in this function)
>
>   if(SecTrustEvaluateAsync != NULL) {
>
>      ^

If you look in SecTrust.h (where the SecTrustEvaluateAsync() API is declared), you'll see it's wrapped in

#ifdef __BLOCKS__

Likely your complier (gcc 5.3) does not support blocks.  Is there a reason you want to use gcc instead of the system complier (clang)?

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada


More information about the CMake mailing list