forked from wolfSSL/wolfssl
reduce size of state only save and add option to remove peer info
This commit is contained in:
@@ -4284,13 +4284,19 @@ AC_ARG_ENABLE([sessionexport],
|
||||
[ ENABLED_SESSIONEXPORT=no ]
|
||||
)
|
||||
|
||||
if test "$ENABLED_SESSIONEXPORT" = "yes"
|
||||
if test "$ENABLED_SESSIONEXPORT" = "yes" ||
|
||||
test "$ENABLED_SESSIONEXPORT" = "nopeer"
|
||||
then
|
||||
if test "$ENABLED_DTLS" = "no"
|
||||
then
|
||||
AC_MSG_ERROR([Only DTLS supported with session export])
|
||||
fi
|
||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SESSION_EXPORT"
|
||||
|
||||
if test "$ENABLED_SESSIONEXPORT" = "nopeer"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SESSION_EXPORT_NOPEER"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user