Changeset 787dab7 in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Feb 20, 2008, 2:50:09 PM (12 years ago)
Author:
Nokis Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
572096b
Parents:
2cdc264
git-author:
Nikos Mavrogiannopoulos <nmav@…> (02/20/08 14:50:09)
git-committer:
Nokis Mavrogiannopoulos <nmav@…> (02/20/08 14:50:09)
Message:

added option to disable srp (for distributions that disable it in gnutls)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    r2cdc264 r787dab7  
    282282
    283283
     284#ifdef ENABLE_SRP
     285
    284286const char *mgs_set_srp_tpasswd_file(cmd_parms * parms, void *dummy,
    285287                                     const char *arg)
     
    307309    return NULL;
    308310}
     311
     312#endif
    309313
    310314const char *mgs_set_cache(cmd_parms * parms, void *dummy,
     
    544548    }
    545549
     550#ifdef ENABLE_SRP
    546551    ret = gnutls_srp_allocate_server_credentials(&sc->srp_creds);
    547552    if (ret < 0) {
     
    552557    sc->srp_tpasswd_conf_file = NULL;
    553558    sc->srp_tpasswd_file = NULL;
     559#endif
     560
    554561    sc->privkey_x509 = NULL;
    555562    memset( sc->certs_x509, 0, sizeof(sc->certs_x509));
Note: See TracChangeset for help on using the changeset viewer.