partial conversion to OpenSSL 1.1.1

This commit is contained in:
2022-07-11 08:26:56 +02:00
parent ddde491ba8
commit f8a83ca463
9 changed files with 75 additions and 50 deletions

View File

@ -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)