X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client.h;fp=client.h;h=b841b7e1b6b6d0698a404887429840f2ea6e9a47;hp=a423406238204c3ba9b86e066fc82fead3dc16d9;hb=4744d937c4160898d1fe151257606430750e580c;hpb=fa9e0ecb219000e07eaf694f50679a8edfb5dc9e diff --git a/client.h b/client.h index a4234062..b841b7e1 100644 --- a/client.h +++ b/client.h @@ -14,6 +14,8 @@ enum { CL_RECEIVED_WELCOME, /** Client sends the authentification request. */ CL_SENT_AUTH, + /** Server sends encrypted challenge. */ + CL_RECEIVED_CHALLENGE, /** Client solves the challenge and sends the result. */ CL_SENT_CH_RESPONSE, /** Server accepts this authentication. */ @@ -36,6 +38,8 @@ struct client_task { bool use_sideband; /** The sideband context, ignored if \a use_sideband is false. */ struct sb_context *sbc; + /** The hash value of the decrypted challenge. */ + unsigned char *challenge_hash; /** The configuration (including the command). */ struct client_args_info conf; /** The config file for client options. */