return 0;
return "MIT-MAGIC-COOKIE-1 data was wrong length";
static int x11_verify(struct X11Auth *auth,		      char *proto, unsigned char *data, int dlen){    if (strcmp(proto, x11_authnames[auth->fakeproto]) != 0)	return 0;		       /* wrong protocol attempted */    if (auth->fakeproto == X11_MIT) {        if (dlen != auth->fakelen)            return 0;		       /* cookie was wrong length */        if (memcmp(auth->fakedata, data, dlen) != 0)            return 0;		       /* cookie was wrong cookie! */    }    /* implement other protocols here if ever required */    return 1;}