CAPWAP_CIPHER param in dtls.h
FossilOrigin-Name: b5f3bfdc91c2fcfe784060d61cdfb9bf399b1d253ec956a2bfd3ff0a44ea3734
This commit is contained in:
parent
fed07fb7c8
commit
526c0da605
@ -36,4 +36,6 @@ LIBDIR=lib
|
|||||||
|
|
||||||
OPTFLAGS := -g -O0
|
OPTFLAGS := -g -O0
|
||||||
CFLAGS := -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE=1 -pedantic -std=c90 -Wall
|
CFLAGS := -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE=1 -pedantic -std=c90 -Wall
|
||||||
|
|
||||||
|
|
||||||
|
SSL_LIBRARY:=GNUTLS
|
||||||
|
@ -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);
|
struct dtls_ssl_cert dtls_gnutls_get_peers_cert(struct conn * conn,unsigned int n);
|
||||||
extern int dtls_gnutls_shutdown(struct conn *conn);
|
extern int dtls_gnutls_shutdown(struct conn *conn);
|
||||||
|
|
||||||
|
#define CAPWAP_CIPHER "+RSA:+AES-128-CBC:+SHA1:"
|
||||||
|
|
||||||
|
|
||||||
/* functions used only by capwap libray */
|
/* functions used only by capwap libray */
|
||||||
|
|
||||||
|
@ -9,6 +9,15 @@ OBJS:=$(patsubst %.o,$(OBJDIR)/%.o,$(OBJS))
|
|||||||
|
|
||||||
CFLAGS+= -I ../../ -I../ -I../../include
|
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)
|
SRCS = $(OBJS:.o=.c)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include "cw/dbg.h"
|
#include "cw/dbg.h"
|
||||||
#include "cw/ktv.h"
|
#include "cw/ktv.h"
|
||||||
#include "cw/keys.h"
|
#include "cw/keys.h"
|
||||||
|
#include "cw/dtls.h"
|
||||||
|
|
||||||
#include "mod_capwap.h"
|
#include "mod_capwap.h"
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include "cw/mod.h"
|
#include "cw/mod.h"
|
||||||
#include "cw/log.h"
|
#include "cw/log.h"
|
||||||
#include "cw/dbg.h"
|
#include "cw/dbg.h"
|
||||||
|
#include "cw/dtls.h"
|
||||||
|
|
||||||
|
|
||||||
/*#include "mod_cisco.h"*/
|
/*#include "mod_cisco.h"*/
|
||||||
@ -221,4 +221,4 @@ struct cw_Mod *mod_cisco()
|
|||||||
{
|
{
|
||||||
return &cisco_data;
|
return &cisco_data;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user