value is always different

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Apr 26 18:37:14 CEST 2010


Ali Khalfan wrote:
> The full code is just a few lines more I'll just post it all...., seems
> some sort of randomization is being added.......thanks for your help

>     gcry_md_write(ctx, &plain_text,sizeof plain_text);

Be careful with pointers... Here "plain_text" should be used instead of
"&plain_text".


regards,
Nikos





More information about the Gnutls-help mailing list