Changeset b1f7f11 in mod_gnutls for src/mod_gnutls.c


Ignore:
Timestamp:
Dec 2, 2004, 4:43:34 AM (15 years ago)
Author:
Paul Querna <chip@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
01d15c2
Parents:
dae0aec
Message:

hey hey, this is working code!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mod_gnutls.c

    rdae0aec rb1f7f11  
    150150    gnutls_certificate_server_set_request(ctxt->session, GNUTLS_CERT_IGNORE);
    151151
    152 //    gnutls_dh_set_prime_bits(ctxt->session, DH_BITS);
     152    gnutls_dh_set_prime_bits(ctxt->session, DH_BITS);
    153153
    154154    return ctxt;
     
    189189                                                        module_config,
    190190                                                        &gnutls_module);
    191     sc->cert_file = apr_pstrdup(parms->pool, arg);
     191    sc->cert_file = ap_server_root_relative(parms->pool, arg);
    192192    return NULL;
    193193}
     
    200200                                                        module_config,
    201201                                                        &gnutls_module);
    202     sc->key_file = apr_pstrdup(parms->pool, arg);
     202    sc->key_file = ap_server_root_relative(parms->pool, arg);
    203203    return NULL;
    204204}
     
    292292
    293293    i = 0;
     294    sc->key_exchange[i++] = GNUTLS_KX_DHE_DSS;
    294295    sc->key_exchange[i++] = GNUTLS_KX_RSA;
     296    sc->key_exchange[i++] = GNUTLS_KX_DHE_RSA;
    295297    sc->key_exchange[i++] = GNUTLS_KX_RSA_EXPORT;
    296     sc->key_exchange[i++] = GNUTLS_KX_DHE_RSA;
    297298    sc->key_exchange[i++] = GNUTLS_KX_DHE_DSS;
    298299    sc->key_exchange[i] = 0;
Note: See TracChangeset for help on using the changeset viewer.