/[anubis]/anubis/src/tls.c
ViewVC logotype

Diff of /anubis/src/tls.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by gray, Tue May 27 19:51:50 2003 UTC revision 1.7 by gray, Wed May 28 05:55:25 2003 UTC
# Line 239  start_ssl_server(int sd_client) Line 239  start_ssl_server(int sd_client)
239          gnutls_certificate_allocate_credentials(&x509_cred);          gnutls_certificate_allocate_credentials(&x509_cred);
240          atexit(_tls_cleanup_x509);          atexit(_tls_cleanup_x509);
241          if (secure.cafile) {          if (secure.cafile) {
242                  rs = gnutls_certificate_set_x509_trust_file(xcred,                  rs = gnutls_certificate_set_x509_trust_file(x509_cred,
243                                                              secure.cafile,                                                              secure.cafile,
244                                                              GNUTLS_X509_FMT_PEM);                                                              GNUTLS_X509_FMT_PEM);
245                  if (rs < 0) {                  if (rs < 0) {

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26