mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-10-07 04:02:18 +03:00
added authentication test
simplified makefiles support for OpenPGP disabled build
This commit is contained in:
1 parent
a6a989cf12
commit
dfbd5f4809
15 files changed
+611
-218
No files matched your search
@@ -1,26 +1,9 @@
|
||||
SUBDIRS = minitasn1 opencdk openpgp lgl x509 tls .
|
||||
# placing '.' at the end of SUBDIRS having OPENPGP enabled mixes up build order !
|
||||
SUBDIRS = minitasn1 lgl x509 tls
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/include \
|
||||
-I$(top_srcdir)/src/daemon/https/tls \
|
||||
-I$(top_srcdir)/src/daemon/https/lgl \
|
||||
-I$(top_srcdir)/src/daemon/https/x509 \
|
||||
-I$(top_srcdir)/src/daemon/https/openpgp \
|
||||
-I$(top_srcdir)/src/daemon/https/opencdk \
|
||||
-I$(top_srcdir)/src/daemon/https/includes
|
||||
|
||||
noinst_LTLIBRARIES = libhttps.la
|
||||
|
||||
libhttps_la_SOURCES = \
|
||||
https_common.c
|
||||
|
||||
libhttps_la_LIBADD = \
|
||||
opencdk/libopencdk.la \
|
||||
openpgp/libopenpgp.la \
|
||||
x509/libx509.la \
|
||||
lgl/liblgl.la \
|
||||
tls/libtls.la \
|
||||
minitasn1/libasn1.la
|
||||
if ENABLE_OPENPGP
|
||||
SUBDIRS += opencdk openpgp
|
||||
endif
|
||||
|
||||
#noinst_PROGRAMS = errcodes
|
||||
#errcodes_SOURCES = errcodes.c
|
||||
|
||||
@@ -6,7 +6,7 @@ AM_CPPFLAGS = \
|
||||
|
||||
noinst_LTLIBRARIES = libopencdk.la
|
||||
|
||||
libopencdk_la_LDFLAGS = -lgcrypt
|
||||
libopencdk_la_LDFLAGS = -lgcrypt
|
||||
|
||||
libopencdk_la_SOURCES = armor.c filters.h main.c seskey.c types.h \
|
||||
cipher.c kbnode.c main.h packet.h dummy.c sig-check.c verify.c \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <config.h>
|
||||
|
||||
#ifdef ENABLE_OPENPGP
|
||||
#if ENABLE_OPENPGP
|
||||
|
||||
#ifndef GNUTLS_OPENPGP_H
|
||||
#define GNUTLS_OPENPGP_H
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef ENABLE_OPENPGP
|
||||
#if ENABLE_OPENPGP
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
@@ -124,7 +124,7 @@ int gnutls_certificate_set_openpgp_key(gnutls_certificate_credentials_t
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
int _gnutls_map_cdk_rc(int rc);
|
||||
int gnutls_openpgp_crt_get_name(gnutls_openpgp_crt_t key,
|
||||
|
||||
@@ -199,9 +199,8 @@ int
|
||||
gnutls_certificate_type_set_priority (gnutls_session_t session,
|
||||
const int *list)
|
||||
{
|
||||
#ifdef ENABLE_OPENPGP
|
||||
#if ENABLE_OPENPGP
|
||||
return _set_priority (&session->internals.priorities.cert_type, list);
|
||||
|
||||
#else
|
||||
|
||||
return GNUTLS_E_UNIMPLEMENTED_FEATURE;
|
||||
@@ -243,7 +242,7 @@ typedef void (rmadd_func) (priority_st * priority_list, int alg);
|
||||
* @priority: is a #gnutls_priority_t structure.
|
||||
*
|
||||
* Sets the priorities to use on the ciphers, key exchange methods,
|
||||
* macs and compression methods.
|
||||
* macs and compression methods.
|
||||
*
|
||||
* On success 0 is returned.
|
||||
*
|
||||
@@ -288,7 +287,7 @@ gnutls_priority_set (gnutls_session_t session, gnutls_priority_t priority)
|
||||
* "NORMAL" option enables all "secure" ciphersuites. The 256-bit ciphers
|
||||
* are included as a fallback only. The ciphers are sorted by security margin.
|
||||
*
|
||||
* "SECURE128" flag enables all "secure" ciphersuites with ciphers up to
|
||||
* "SECURE128" flag enables all "secure" ciphersuites with ciphers up to
|
||||
* 128 bits, sorted by security margin.
|
||||
*
|
||||
* "SECURE256" flag enables all "secure" ciphersuites including the 256 bit
|
||||
@@ -316,7 +315,7 @@ gnutls_priority_set (gnutls_session_t session, gnutls_priority_t priority)
|
||||
* are enabled (except for the RSA-EXPORT which is only enabled in
|
||||
* EXPORT level).
|
||||
*
|
||||
* Note that although one can select very long key sizes (such as 256 bits)
|
||||
* Note that although one can select very long key sizes (such as 256 bits)
|
||||
* for symmetric algorithms, to actually increase security the public key
|
||||
* algorithms have to use longer key sizes as well.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user