X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/5dd5f9ec28f304ca377c42fd7f711d6cf12b90e1..5c19dc3ae3bd8e40a9c028b0deddd50ff337692c:/securityd/libsecurity_agent/lib/utils.c?ds=inline diff --git a/securityd/libsecurity_agent/lib/utils.c b/securityd/libsecurity_agent/lib/utils.c deleted file mode 100644 index f3d08392..00000000 --- a/securityd/libsecurity_agent/lib/utils.c +++ /dev/null @@ -1,26 +0,0 @@ -/* - * utils.h - * libsecurity_agent - * - * Copyright (c) 2010-2011 Apple Inc. All Rights Reserved. - * - */ - - -#include "utils.h" - -unsigned char * -uuid_init_with_sessionid(uuid_t uuid, uint32_t sessionid) -{ - uuid_t tmp = UUID_INITIALIZER_FROM_SESSIONID(sessionid); - - uuid_copy(uuid, tmp); - return &uuid[0]; -} - -const char * -uuid_to_string(const uuid_t uuid, char *buf) -{ - uuid_unparse_lower(uuid, buf); - return buf; -}