projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beff261
)
Prefer OpenSSL versions of MD4 / MD5 / SHA1
author
Alan T. DeKok
<aland@freeradius.org>
Tue, 2 Apr 2013 14:54:55 +0000
(10:54 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Tue, 2 Apr 2013 15:32:27 +0000
(11:32 -0400)
Which makes libfreeradius-radius smaller
Make.inc.in
patch
|
blob
|
history
diff --git
a/Make.inc.in
b/Make.inc.in
index
aed747e
..
1ed8d0b
100644
(file)
--- a/
Make.inc.in
+++ b/
Make.inc.in
@@
-72,6
+72,14
@@
OPENSSL_LIBS = @OPENSSL_LIBS@
OPENSSL_INCLUDE = @OPENSSL_INCLUDE@
CFLAGS += $(OPENSSL_INCLUDE)
+#
+# If the system has OpenSSL, use it's version of MD4/MD5/SHA1, instead of
+# using ours.
+#
+ifneq "$(OPENSSL_LIBS)" ""
+CFLAGS += -DWITH_OPENSSL_MD4 -DWITH_OPENSSL_MD5 -DWITH_OPENSSL_SHA1
+endif
+
LIBREADLINE = @LIBREADLINE@
#