1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/devel/tcl-trf/files/patch-loadman
Mikhail Teterin d0b2e40d6b Retreat to using OpenSSL's message digest routines instead of -lmd. They
are sometimes faster and never slower. Using -lmd is still possible by
building with ``TRF_USE_MD=yes''. Bump PORTREVISION.

Use the RIPEMD160* routines from -lcrypto (or -lmd) instead of our own
-- just like for md[25] and sha*. Neither -lcrypto nor -lmd provide
RIPEMD128 (not strong enough?), so stay with our own implementation.

sparc64/amd64 are not expected to work yet...
2004-07-11 08:38:31 +00:00

23 lines
452 B
Plaintext

--- generic/loadman.h Fri Feb 15 14:49:06 2002
+++ generic/loadman.h Fri Feb 15 14:50:48 2002
@@ -48,9 +48,4 @@
#ifdef HAVE_MD2_H
-# ifdef OPENSSL_SUB
-# include <openssl/md2.h>
-# else
-# include <md2.h>
-# endif
#else
# include "../compat/md2.h"
@@ -58,9 +54,4 @@
#ifdef HAVE_SHA_H
-# ifdef OPENSSL_SUB
-# include <openssl/sha.h>
-# else
-# include <sha.h>
-# endif
#else
# include "../compat/sha.h"