summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2020-06-20 07:59:26 -0700
committerWayne Davison <wayne@opencoder.net>2020-06-20 08:05:53 -0700
commit04653dabc8dff8c85d75ccab57749e0af91a03cb (patch)
tree500c954c19f7f04ca556afd3c489a22f504a7a2c /lib
parent19617f7b4a423b8262e24111d1edc7a1c422525f (diff)
downloadrsync-04653dabc8dff8c85d75ccab57749e0af91a03cb.tar.gz
Exclude the asm code when it's not being used.
Diffstat (limited to 'lib')
-rw-r--r--lib/md5-asm-x86_64.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/md5-asm-x86_64.s b/lib/md5-asm-x86_64.s
index 44aa386d..29e2cc82 100644
--- a/lib/md5-asm-x86_64.s
+++ b/lib/md5-asm-x86_64.s
@@ -24,6 +24,10 @@
* show any significant difference in performance, though.
*/
+#include "config.h"
+
+#ifndef USE_OPENSSL
+
.text
.align 16
@@ -700,3 +704,5 @@ _md5_process_asm:
#else
L_md5_process_asm_end:
#endif
+
+#endif /* !USE_OPENSSL */