← Back to team overview

dolfin team mailing list archive

Re: Dependence on OpenSSL

 

Sorry for being dense but computing the SHA1 hash for what essentially
is a string compare seems a bit overkill.

On Tue, Oct 6, 2009 at 2:18 PM, Anders Logg <logg@xxxxxxxxx> wrote:
> I'm contemplating adding a dependency to OpenSSL for computing hashes
> of things like element signatures.
>
> This is what breaks Kristian's code. Comparing element pointers does
> not work since the UFC class creates its own elements which are
> different from the ones existing in FunctionSpace classes.
>
> Would there be any difficulties with depending on OpenSSL? Are there
> simpler alternatives for a function that takes a string a returns a
> message digest like the SHA1 function in OpenSSL?
>
> --
> Anders
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkrLmCAACgkQTuwUCDsYZdEk3ACgl7+tHjclHzLesh+g/1vOzIo9
> tJsAn1fHGu+dzyA/ndNpy88/RFWNTbEB
> =24AA
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>
>


Follow ups

References