// sc-150-backupkeyderivation.c
// sec
//
-// Created by Mitch Adler on 4/7/15.
-//
//
#include <stdio.h>
CFMutableDataRef result = NULL;
CFMutableDataRef data = CFDataCreateMutableWithScratch(allocator, size);
- require_quiet(0 == SecRandomCopyBytes(kSecRandomDefault, size, CFDataGetMutableBytePtr(data)), fail);
+ require_quiet(errSecSuccess == SecRandomCopyBytes(kSecRandomDefault, size, CFDataGetMutableBytePtr(data)), fail);
CFTransferRetained(result, data);