Changeset 7e67487 in mod_gnutls


Ignore:
Timestamp:
Jun 30, 2009, 1:12:19 PM (10 years ago)
Author:
Nokis Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
f7a7d66
Parents:
0e13d67
git-author:
Nikos Mavrogiannopoulos <nmav@…> (06/30/09 13:12:19)
git-committer:
Nokis Mavrogiannopoulos <nmav@…> (06/30/09 13:12:19)
Message:

Applied patch to allow building with Apache 2.4. Patch by Arfrever Frehtes Taifersar Arahesis <arfrever.fta@…>.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/mod_gnutls.h.in

    r0e13d67 r7e67487  
    5353/* Recent Versions of 2.1 renamed several hooks. This allows us to
    5454   compile on 2.0.xx  */
    55 #if AP_SERVER_MINORVERSION_NUMBER >= 1
    56 #if AP_SERVER_PATCHLEVEL_NUMBER >= 3
     55#if AP_SERVER_MINORVERSION_NUMBER >= 2 || (AP_SERVER_MINORVERSION_NUMBER == 1 && AP_SERVER_PATCHLEVEL_NUMBER >= 3)
    5756#define USING_2_1_RECENT 1
    58 #endif
    5957#endif
    6058
  • src/gnutls_cache.c

    r0e13d67 r7e67487  
    3838#define MC_TAG_LEN sizeof(MC_TAG)
    3939#define STR_SESSION_LEN (GNUTLS_SESSION_ID_STRING_LEN + MC_TAG_LEN)
     40
     41#if MODULE_MAGIC_NUMBER_MAJOR < 20081201
     42#define ap_unixd_config unixd_config
     43#endif
    4044
    4145char *mgs_session_id2sz(unsigned char *id, int idlen,
     
    545549    /* Running as Root */
    546550    if (geteuid() == 0)  {
    547         chown(path1, unixd_config.user_id, -1);
     551        chown(path1, ap_unixd_config.user_id, -1);
    548552        if (path2 != NULL) {
    549             chown(path2, unixd_config.user_id, -1);
     553            chown(path2, ap_unixd_config.user_id, -1);
    550554        }
    551555    }
Note: See TracChangeset for help on using the changeset viewer.