mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-27 04:09:31 +03:00
dead
This commit is contained in:
@@ -27,4 +27,4 @@ memmem.c \
|
||||
strverscmp.c \
|
||||
md5.c \
|
||||
des.c
|
||||
|
||||
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/include \
|
||||
-I$(top_srcdir)/src/daemon/https/lgl \
|
||||
-I$(top_srcdir)/src/daemon/https/tls \
|
||||
-I$(top_srcdir)/src/daemon/https/includes
|
||||
-I$(top_srcdir)/src/daemon/https/tls
|
||||
|
||||
noinst_LTLIBRARIES = libasn1.la
|
||||
|
||||
|
||||
@@ -8,8 +8,6 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/daemon/https/lgl \
|
||||
-I$(top_srcdir)/src/daemon/https/minitasn1 \
|
||||
-I$(top_srcdir)/src/daemon/https/x509 \
|
||||
-I$(top_srcdir)/src/daemon/https/openpgp \
|
||||
-I$(top_srcdir)/src/daemon/https/opencdk \
|
||||
-I$(GCRYPT_CPPFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES = libtls.la
|
||||
|
||||
@@ -66,22 +66,16 @@ MHD_gnutls_cipher_set_priority (mhd_gtls_session_t session, const int *list)
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline static int
|
||||
static int
|
||||
_set_priority (mhd_gtls_priority_st * st, const int *list)
|
||||
{
|
||||
int num = 0, i;
|
||||
int num = 0;
|
||||
|
||||
while (list[num] != 0)
|
||||
while ( (list[num] != 0) &&
|
||||
(num < MAX_ALGOS) )
|
||||
num++;
|
||||
if (num > MAX_ALGOS)
|
||||
num = MAX_ALGOS;
|
||||
st->num_algorithms = num;
|
||||
|
||||
for (i = 0; i < num; i++)
|
||||
{
|
||||
st->priority[i] = list[i];
|
||||
}
|
||||
|
||||
memcpy(st->priority, list, num * sizeof(int));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user