Changeset 8eb6ccd in mod_gnutls for src


Ignore:
Timestamp:
Jan 11, 2013, 12:53:30 AM (9 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, upstream
Children:
3e94bd3, b67ea18
Parents:
de80d66
Message:

Imported Upstream version 0.1.1

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Makefile.in

    rde80d66 r8eb6ccd  
    142142MOD_GNUTLS_VERSION = @MOD_GNUTLS_VERSION@
    143143OBJEXT = @OBJEXT@
     144OOO_MAINTAIN = @OOO_MAINTAIN@
    144145PACKAGE = @PACKAGE@
    145146PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  • src/mod_gnutls.c

    rde80d66 r8eb6ccd  
    2222#endif
    2323
     24#if MOD_GNUTLS_DEBUG
    2425static apr_file_t* debug_log_fp;
     26#endif
    2527
    2628static apr_status_t mod_gnutls_cleanup_pre_config(void *data)
     
    3032}
    3133
     34#if MOD_GNUTLS_DEBUG
    3235static void gnutls_debug_log_all( int level, const char* str)
    3336{
    3437    apr_file_printf(debug_log_fp, "<%d> %s\n", level, str);
    3538}
     39#endif
    3640
    3741static int mod_gnutls_hook_pre_config(apr_pool_t * pconf,
     
    4953                              apr_pool_cleanup_null);
    5054
     55#if MOD_GNUTLS_DEBUG
    5156    apr_file_open(&debug_log_fp, "/tmp/gnutls_debug",
    5257                  APR_APPEND|APR_WRITE|APR_CREATE, APR_OS_DEFAULT, pconf);
     
    5459    gnutls_global_set_log_level(9);
    5560    gnutls_global_set_log_function(gnutls_debug_log_all);
     61#endif
    5662
    5763    return OK;
     
    521527    ap_hook_child_init(mod_gnutls_hook_child_init, NULL, NULL,
    522528                        APR_HOOK_MIDDLE);
     529#if USING_2_1_RECENT
    523530    ap_hook_http_scheme(mod_gnutls_hook_http_scheme, NULL, NULL,
    524531                        APR_HOOK_MIDDLE);
     532#else
     533    ap_hook_http_method(mod_gnutls_hook_http_scheme, NULL, NULL,
     534                        APR_HOOK_MIDDLE);
     535#endif
    525536    ap_hook_default_port(mod_gnutls_hook_default_port, NULL, NULL,
    526537                         APR_HOOK_MIDDLE);
Note: See TracChangeset for help on using the changeset viewer.