Searched refs:old_macaroon (Results 1 – 2 of 2) sorted by relevance
93 bool uw_macaroon_extend_(const UwMacaroon* old_macaroon, in uw_macaroon_extend_() argument99 if (old_macaroon == NULL || new_macaroon == NULL || context == NULL || in uw_macaroon_extend_()104 new_macaroon->num_caveats = old_macaroon->num_caveats + 1; in uw_macaroon_extend_()112 if (new_macaroon->caveats != old_macaroon->caveats) { in uw_macaroon_extend_()113 memcpy(extended_list, old_macaroon->caveats, in uw_macaroon_extend_()114 old_macaroon->num_caveats * sizeof(old_macaroon->caveats[0])); in uw_macaroon_extend_()116 extended_list[old_macaroon->num_caveats] = additional_caveat; in uw_macaroon_extend_()120 return create_mac_tag_(old_macaroon->mac_tag, UW_MACAROON_MAC_LEN, context, in uw_macaroon_extend_()121 new_macaroon->caveats + old_macaroon->num_caveats, 1, in uw_macaroon_extend_()
62 bool uw_macaroon_extend_(const UwMacaroon* old_macaroon,