]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/crda-3.13-crypto_use_optional.patch
openssl: Disable SSLv2 and SSLv3.
[ipfire-2.x.git] / src / patches / crda-3.13-crypto_use_optional.patch
1 Submitted By: hauke from OpenWRT
2 Date: 2009-04-17
3 Initial Package Version: 1.0.2
4 Origin: https://dev.openwrt.org/changeset/15405/trunk/package/crda/patches/101-make_crypto_use_optional.patch
5 Description: The patch was modified for version crda-3.13 by Erik Kapfer <erik.kapfer@ipfire.org>..
6 This patch provides the following improvements:
7 * Crypto usage is optional.
8
9 diff -Nur crda-3.13.orig/Makefile crda-3.13/Makefile
10 --- crda-3.13.orig/Makefile 2015-01-12 07:55:08.791183765 +0100
11 +++ crda-3.13/Makefile 2015-01-12 07:56:35.437381029 +0100
12 @@ -43,7 +43,9 @@
13
14 $(LIBREG): keys-ssl.c
15
16 -else
17 +endif
18 +
19 +ifeq ($(USE_GCRYPT),1)
20 CFLAGS += -DUSE_GCRYPT
21 LDLIBS += -lgcrypt
22