partial conversion to OpenSSL 1.1.1
This commit is contained in:
@ -241,20 +241,20 @@ RADIOSRC=\
|
||||
cw_read_radio_generic.c\
|
||||
|
||||
|
||||
#DTLSSRC += dtls_openssl.c \
|
||||
# dtls_openssl_accept.c \
|
||||
# dtls_openssl_connect.c \
|
||||
# dtls_openssl_get_cipher.c \
|
||||
# dtls_openssl_bio.c
|
||||
#LIBS+=-lssl
|
||||
DTLSSRC += dtls_openssl.c \
|
||||
dtls_openssl_accept.c \
|
||||
dtls_openssl_connect.c \
|
||||
dtls_openssl_get_cipher.c \
|
||||
dtls_openssl_bio.c
|
||||
LIBS+=-lssl
|
||||
|
||||
DTLSSRC+= dtls_gnutls.c \
|
||||
dtls_gnutls_accept.c \
|
||||
dtls_gnutls_connect.c \
|
||||
dtls_gnutls_bio.c \
|
||||
dtls_gnutls_get_cipher.c \
|
||||
dtls_gnutls_get_peers_cert.c
|
||||
LIBS+=-lgnutls
|
||||
#DTLSSRC+= dtls_gnutls.c \
|
||||
# dtls_gnutls_accept.c \
|
||||
# dtls_gnutls_connect.c \
|
||||
# dtls_gnutls_bio.c \
|
||||
# dtls_gnutls_get_cipher.c \
|
||||
# dtls_gnutls_get_peers_cert.c
|
||||
#LIBS+=-lgnutls
|
||||
|
||||
|
||||
#SRC=$(wildcard *.c)
|
||||
@ -270,7 +270,7 @@ OBJDIR := ../../obj/cw/$(KERNEL)/$(ARCH)
|
||||
SNAME := $(LIBARCHDIR)/libcw.a
|
||||
DNAME := $(LIBARCHDIR)/libcw.so
|
||||
|
||||
CFLAGS+=-fPIC
|
||||
CFLAGS+=-fPIC -DUSE_OPENSSL
|
||||
|
||||
all: $(SNAME) $(DNAME)
|
||||
static: $(SNAME)
|
||||
|
Reference in New Issue
Block a user