On Nov 23, 2007 5:54 PM, Koza <[EMAIL PROTECTED]> wrote: > > Hi, > > I counted the number of calls of SHA-1 Init/Upgrade/Final (sum of these) and > I see that the number of calls differs even when I download all the time the > same file in the same environment (I download a file with wget from apache > server with mod_ssl). > > Can some explain why it works that way? Shouldn't the number be always the > same? Number of encrypt/decrypt/rsas functions are always the same. >
My wild guess is that SHA1::Upgrade() function is being called each time mod_ssl sends a packet to the peer. Asuming that you never have the same network conditions (tcp/ip slow start, packet loss => the size of packets might differ and some packets can even be sent few times) hence the number of invidual packets is difference, hence the number of upgrade calls is different. I am not sure if that is the reason, but i am not able to figure out anything else than that. -- Regards Grzegorz Rusin ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]