Changeset 66b608e in mod_gnutls for src/gnutls_cache.c


Ignore:
Timestamp:
Jan 11, 2013, 12:57:51 AM (8 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, upstream
Children:
bbb9bb1, e03f404
Parents:
52b649e
Message:

Imported Upstream version 0.5.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_cache.c

    r52b649e r66b608e  
    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.