X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol_auth.c;h=12dc144a29501a05280f0d974ac93322f0c38f3a;hb=b2701c7c54b11cda71461c5dbbc985476bf5b221;hp=d4bb4074f69efd82b90aaa94aa3f42198d709d6a;hpb=171810e42712c7cfcd7bcfb5fe6c35f2a935e4c6;p=tinc diff --git a/src/protocol_auth.c b/src/protocol_auth.c index d4bb4074..12dc144a 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -246,7 +246,7 @@ static bool receive_invitation_sptps(void *handle, uint8_t type, const void *dat memcpy(hashbuf, data, 18); memcpy(hashbuf + 18, fingerprint, sizeof(hashbuf) - 18); sha512(hashbuf, sizeof(hashbuf), cookie); - b64encode_urlsafe(cookie, cookie, 18); + b64encode_tinc_urlsafe(cookie, cookie, 18); free(fingerprint); char filename[PATH_MAX], usedname[PATH_MAX];