search for: secretmaxlen

Displaying 1 result from an estimated 1 matches for "secretmaxlen".

2007 Aug 24
0
rsync patch to add Apple keychain support
...t32 accountNameLength, const char *accountName, UInt32 *passwordLength, void **passwordData, SecKeychainItemRef *itemRef); OSStatus SecKeychainItemFreeContent(SecKeychainAttributeList *attrList, void *data); static int get_secret_from_keychain(int module, char *user, char *secret, unsigned secretmaxlen) { char accountname[100] = ""; char* modulename = lp_name(module); strcat(accountname, modulename); strcat(accountname, "-"); strcat(accountname, user); OSStatus status = noErr; UInt32 passwordLength = 0; void* passwordData = nil; // will be allocated and filled...