Changeset 7e67487 in mod_gnutls for src/gnutls_cache.c


Ignore:
Timestamp:
Jun 30, 2009, 1:12:19 PM (14 years ago)
Author:
Nokis Mavrogiannopoulos <nmav@…>
Branches:
asyncio, debian/master, debian/stretch-backports, jessie-backports, main, master, msva, proxy-ticket, 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@…>.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.