Lines Matching refs:upeer
2223 char *upeer = NULL; in certret_extract() local
2253 upeer = strdup(q); in certret_extract()
2255 if (strcmp(upeer, "")) { in certret_extract()
2256 p = upeer; in certret_extract()
2265 if (strcmp(upeer, "")) { in certret_extract()
2270 upeer = NULL; in certret_extract()
2272 return upeer; in certret_extract()
2338 char *u = NULL, *upeer = NULL; in get_usslpeer() local
2341 upeer = certret_extract(); in get_usslpeer()
2343 if (!upeer) { in get_usslpeer()
2346 rfbLog("sslpeer unix username extracted from x509 cert: %s\n", upeer); in get_usslpeer()
2348 u = (char *) malloc(strlen(upeer+2)); in get_usslpeer()
2351 sprintf(u, "+%s", upeer); in get_usslpeer()
2356 if (!strcmp(p, upeer)) { in get_usslpeer()
2357 sprintf(u, "+%s", upeer); in get_usslpeer()
2365 rfbLog("sslpeer cannot determine user: %s\n", upeer); in get_usslpeer()
2370 return upeer; in get_usslpeer()