X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fopenid%2Fserv_openid_rp.c;h=16f189e0d2f58e2f04591bd14a8b226db709d12d;hb=b7600280f78a42df2bf8bfcc3b3be1a622e2f889;hp=916fc570ec91d9ac6448dbf752deae045de062c2;hpb=f5da211d270d0e7010ae85680361fc192caa3721;p=citadel.git diff --git a/citadel/modules/openid/serv_openid_rp.c b/citadel/modules/openid/serv_openid_rp.c index 916fc570e..16f189e0d 100644 --- a/citadel/modules/openid/serv_openid_rp.c +++ b/citadel/modules/openid/serv_openid_rp.c @@ -723,6 +723,10 @@ void cmd_oidf(char *argbuf) { cprintf("%d NewHash() failed\n", ERROR + INTERNAL_ERROR); return; } + if (IsEmptyStr(oiddata->server)){ + cprintf("%d need a remote server to authenticate against\n", ERROR + ILLEGAL_VALUE); + return; + } cprintf("%d Transmit OpenID data now\n", START_CHAT_MODE);