/[imapfilter]/imapfilter/socket.c
ViewVC logotype

Diff of /imapfilter/socket.c

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

revision 1.14 by lefcha, Sat Dec 8 14:44:16 2001 UTC revision 1.15 by lefcha, Mon Jan 14 18:14:33 2002 UTC
# Line 136  int ssl_init(unsigned int protocol) Line 136  int ssl_init(unsigned int protocol)
136      if (!(c = X509_NAME_oneline(X509_get_subject_name(cert), 0, 0)))      if (!(c = X509_NAME_oneline(X509_get_subject_name(cert), 0, 0)))
137          return ERROR_SSL;          return ERROR_SSL;
138      verbose("Server certificate subject: %s\n", c);      verbose("Server certificate subject: %s\n", c);
139      free(c);      xfree(c);
140    
141      if (!(c = X509_NAME_oneline(X509_get_issuer_name(cert), 0, 0)))      if (!(c = X509_NAME_oneline(X509_get_issuer_name(cert), 0, 0)))
142          return ERROR_SSL;          return ERROR_SSL;
143      verbose("Server certificate issuer: %s\n", c);      verbose("Server certificate issuer: %s\n", c);
144      free(c);      xfree(c);
145    
146      if (!(evp = EVP_md5()))      if (!(evp = EVP_md5()))
147          return ERROR_SSL;          return ERROR_SSL;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26