Source-Changes-HG archive

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

[src/netbsd-1-6]: src/usr.bin/openssl Pull up revision 1.16 (requested by ito...



details:   https://anonhg.NetBSD.org/src/rev/8a64b9616da4
branches:  netbsd-1-6
changeset: 529634:8a64b9616da4
user:      he <he%NetBSD.org@localhost>
date:      Sun Dec 01 21:39:33 2002 +0000

description:
Pull up revision 1.16 (requested by itojun in ticket #861):
  MDC2 is a patented algorithm, so don't ship it in the
  default libcrypto.  Defining MKCRYPTO_MDC2 will build a
  separate library, libcrypto_mdc2.

diffstat:

 usr.bin/openssl/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 83600df4ed4b -r 8a64b9616da4 usr.bin/openssl/Makefile
--- a/usr.bin/openssl/Makefile  Sun Dec 01 21:38:47 2002 +0000
+++ b/usr.bin/openssl/Makefile  Sun Dec 01 21:39:33 2002 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: Makefile,v 1.13 2002/04/24 08:18:54 lukem Exp $
+#      $NetBSD: Makefile,v 1.13.2.1 2002/12/01 21:39:33 he Exp $
 
 NOMAN= # defined
 
 .include <bsd.own.mk>
 
 # RCSid:
-#      $Id: Makefile,v 1.13 2002/04/24 08:18:54 lukem Exp $
+#      $Id: Makefile,v 1.13.2.1 2002/12/01 21:39:33 he Exp $
 #
 #      @(#) Copyright (c) 1995 Simon J. Gerraty
 #
@@ -52,6 +52,12 @@
 LDADD+=        -lcrypto_idea
 DPADD+=        ${LIBCRYPTO_IDEA}
 .endif
+.if ${MKCRYPTO_MDC2} == "no"
+CPPFLAGS+= -DNO_MDC2
+.else
+LDADD+=        -lcrypto_mdc2
+DPADD+=        ${LIBCRYPTO_MDC2}
+.endif
 
 # this must be _after_ the libcrypto_rc5/libcrypto_idea entries.
 LDADD+=        -lssl -lcrypto



Home | Main Index | Thread Index | Old Index