[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 0.3d on FreeBSD 4.2-Stable



On Thu, Dec 28, 2000 at 07:57:26PM -0800, Kurt D. Zeilenga wrote:

> --- /heimdal-0.3d/lib/krb5/crypto.c     Thu Dec  7 21:01:31 2000
> +++ crypto.c    Thu Dec 28 18:46:26 2000
> @@ -1045,9 +1045,15 @@
>  {
>      SHA1_CTX m;
>  
> +#ifdef HAVE_SHA1_INIT
> +    SHA1_Init(&m);
> +    SHA1_Update(&m, data, len);
> +    SHA1_Final(C->checksum.data, &m);
> +#else
>      SHA1Init(&m);
>      SHA1Update(&m, data, len);
>      SHA1Final(C->checksum.data, &m);
> +#endif

This kind of problems will also occur if you try to use libcrypto from
OpenSSL. I'm working on a patch for using OpenSSL; it's basically done but
the RNG issuses are not solved properly yet.

Gabor

-- 
Gabor Gombas                                       Eotvos Lorand University
E-mail: gombasg@inf.elte.hu                        Hungary