CAPWAP_CIPHER param in dtls.h

FossilOrigin-Name: b5f3bfdc91c2fcfe784060d61cdfb9bf399b1d253ec956a2bfd3ff0a44ea3734
This commit is contained in:
7u83@mail.ru 2018-04-03 22:11:24 +00:00
parent fed07fb7c8
commit 526c0da605
5 changed files with 17 additions and 4 deletions

View File

@ -36,4 +36,6 @@ LIBDIR=lib
OPTFLAGS := -g -O0
CFLAGS := -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE=1 -pedantic -std=c90 -Wall
SSL_LIBRARY:=GNUTLS

View File

@ -35,6 +35,8 @@ const char * dtls_gnutls_get_cipher(struct conn * conn, char * dst);
struct dtls_ssl_cert dtls_gnutls_get_peers_cert(struct conn * conn,unsigned int n);
extern int dtls_gnutls_shutdown(struct conn *conn);
#define CAPWAP_CIPHER "+RSA:+AES-128-CBC:+SHA1:"
/* functions used only by capwap libray */

View File

@ -9,6 +9,15 @@ OBJS:=$(patsubst %.o,$(OBJDIR)/%.o,$(OBJS))
CFLAGS+= -I ../../ -I../ -I../../include
ifeq ($(SSL_LIBRARY),GNUTLS)
CFLAGS+=-DWITH_GNUTLS
endif
ifeq ($(SSL_LIBRARY),OPENSSL)
CFLAGS+=-DWITH_OPENSSL
endif
SRCS = $(OBJS:.o=.c)

View File

@ -4,7 +4,7 @@
#include "cw/dbg.h"
#include "cw/ktv.h"
#include "cw/keys.h"
#include "cw/dtls.h"
#include "mod_capwap.h"

View File

@ -4,7 +4,7 @@
#include "cw/mod.h"
#include "cw/log.h"
#include "cw/dbg.h"
#include "cw/dtls.h"
/*#include "mod_cisco.h"*/
@ -221,4 +221,4 @@ struct cw_Mod *mod_cisco()
{
return &cisco_data;
}
*/
*/