Changeset ef93a2f


Ignore:
Timestamp:
2008-02-14T18:48:34Z (17 years ago)
Author:
Sven Moritz Hallberg <sm@…>
Branches:
master
Children:
f3597a1
Parents:
a161d33
Message:

chmod 0600 otr save files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • otr.c

    ra161d33 ref93a2f  
    250250                log_message(LOGLVL_ERROR, "otr save: %s: %s", s, strerror(e));
    251251        }
     252        chmod(s, 0600);
    252253}
    253254
     
    15331534        kg->result = otrl_privkey_generate(kg->irc->otr_us, kg->keyfile, kg->handle,
    15341535                kg->protocol);
     1536        chmod(kg->keyfile, 0600);
    15351537        g_static_rec_mutex_unlock(&kg->irc->otr_mutex);
    15361538        /* OTR enabled again */
Note: See TracChangeset for help on using the changeset viewer.