Edit

kc3-lang/libevent/sample/include.am

Branch :

  • Show log

    Commit

  • Author : Patrick Pelletier
    Date : 2013-02-27 21:12:53
    Hash : 4db9da6b
    Message : pull in wildcard matching code from cURL Now, https-client accepts both: https://ip.appspot.com/ (matching wildcard certificate) https://github.com/ (matching non-wildcard certificate) but still rejects https://www.kegel.com/ (non-matching wildcard certificate) which should match the behavior of these sites in a web browser.

  • sample/include.am
  • # sample/include.am for libevent
    # Copyright 2000-2007 Niels Provos
    # Copyright 2007-2012 Niels Provos and Nick Mathewson
    #
    # See LICENSE for copying information.
    
    SAMPLES = \
    	sample/dns-example				\
    	sample/event-read-fifo			\
    	sample/hello-world				\
    	sample/http-server				\
    	sample/signal-test				\
    	sample/time-test
    
    if OPENSSL
    SAMPLES += sample/le-proxy
    sample_le_proxy_SOURCES = sample/le-proxy.c
    sample_le_proxy_LDADD = libevent.la libevent_openssl.la ${OPENSSL_LIBS} ${OPENSSL_LIBADD}
    sample_le_proxy_INCLUDES = $(OPENSSL_INCS)
    
    SAMPLES += sample/https-client
    sample_https_client_SOURCES = \
    	sample/https-client.c \
    	sample/hostcheck.c \
    	sample/openssl_hostname_validation.c
    sample_https_client_LDADD = libevent.la libevent_openssl.la ${OPENSSL_LIBS} ${OPENSSL_LIBADD}
    sample_https_client_INCLUDES = $(OPENSSL_INCS)
    noinst_HEADERS += \
    	sample/hostcheck.h \
    	sample/openssl_hostname_validation.h
    endif
    
    noinst_PROGRAMS += $(SAMPLES)
    
    $(SAMPLES) : libevent.la
    
    sample_event_read_fifo_SOURCES = sample/event-read-fifo.c
    sample_event_read_fifo_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
    sample_time_test_SOURCES = sample/time-test.c
    sample_time_test_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
    sample_signal_test_SOURCES = sample/signal-test.c
    sample_signal_test_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
    sample_dns_example_SOURCES = sample/dns-example.c
    sample_dns_example_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
    sample_hello_world_SOURCES = sample/hello-world.c
    sample_hello_world_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
    sample_http_server_SOURCES = sample/http-server.c
    sample_http_server_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la