mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-26 12:32:19 +01:00
curl: support --enable-curl=tiny option.
This commit is contained in:
@@ -8185,6 +8185,14 @@ then
|
||||
ENABLED_TICKET_NONCE_MALLOC="yes"
|
||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_TICKET_NONCE_MALLOC"
|
||||
fi
|
||||
elif test "$ENABLED_CURL" = "tiny"
|
||||
then
|
||||
if test "x$ENABLED_OPENSSLEXTRA" = "xno"
|
||||
then
|
||||
ENABLED_OPENSSLEXTRA="x509small"
|
||||
fi
|
||||
|
||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_CURL"
|
||||
fi
|
||||
|
||||
if test "$ENABLED_PSK" = "no" && test "$ENABLED_LEANPSK" = "no" \
|
||||
|
||||
@@ -6529,7 +6529,7 @@ static const byte kTlsServerStr[SIZEOF_SENDER+1] = { 0x53, 0x52, 0x56, 0x52, 0x0
|
||||
static const byte kTlsClientFinStr[FINISHED_LABEL_SZ + 1] = "client finished";
|
||||
static const byte kTlsServerFinStr[FINISHED_LABEL_SZ + 1] = "server finished";
|
||||
|
||||
#if defined(OPENSSL_EXTRA) || defined(WOLFSSL_WPAS_SMALL)
|
||||
#if defined(OPENSSL_EXTRA) || defined(WOLFSSL_WPAS_SMALL) || defined(HAVE_CURL)
|
||||
typedef struct {
|
||||
int name_len;
|
||||
const char *name;
|
||||
@@ -6539,7 +6539,7 @@ typedef struct {
|
||||
extern const WOLF_EC_NIST_NAME kNistCurves[];
|
||||
WOLFSSL_LOCAL int set_curves_list(WOLFSSL* ssl, WOLFSSL_CTX *ctx,
|
||||
const char* names, byte curves_only);
|
||||
#endif /* OPENSSL_EXTRA || WOLFSSL_WPAS_SMALL */
|
||||
#endif /* OPENSSL_EXTRA || WOLFSSL_WPAS_SMALL || HAVE_CURL */
|
||||
|
||||
/* internal functions */
|
||||
WOLFSSL_LOCAL int SendChangeCipher(WOLFSSL* ssl);
|
||||
|
||||
Reference in New Issue
Block a user