Changeset 377a900 in mod_gnutls for src


Ignore:
Timestamp:
Jun 30, 2009, 2:14:23 PM (10 years ago)
Author:
Nokis Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
1c90c18
Parents:
a601e7d
git-author:
Nikos Mavrogiannopoulos <nmav@…> (06/30/09 14:14:23)
git-committer:
Nokis Mavrogiannopoulos <nmav@…> (06/30/09 14:14:23)
Message:

set srp username to empty string. Solves http://issues.outoforder.cc/view.php?id=92

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    ra601e7d r377a900  
    751751
    752752#ifdef ENABLE_SRP
    753     apr_table_setn(env, "SSL_SRP_USER",
    754                    gnutls_srp_server_get_username(ctxt->session));
     753    tmp = gnutls_srp_server_get_username(ctxt->session);
     754    apr_table_setn(env, "SSL_SRP_USER", (tmp!=NULL)?tmp:"");
    755755#endif
    756756
Note: See TracChangeset for help on using the changeset viewer.