/[mailutils]/mailutils/auth/tls.c
ViewVC logotype

Diff of /mailutils/auth/tls.c

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

revision 1.13 by gray, Thu Aug 28 19:34:27 2003 UTC revision 1.14 by polak, Sat Aug 30 10:16:18 2003 UTC
# Line 159  mu_check_tls_environment (void) Line 159  mu_check_tls_environment (void)
159        struct stat st;        struct stat st;
160    
161        if (stat (ssl_cert, &st) == -1)        if (stat (ssl_cert, &st) == -1)
162          return 0;          {
163              mu_error ("%s: %s.", ssl_cert, strerror(errno));
164              return 0;
165            }
166        if (!(st.st_mode & S_IFREG) || !(st.st_mode & S_IFLNK))        if (!(st.st_mode & S_IFREG) || !(st.st_mode & S_IFLNK))
167          {          {
168            mu_error (_("%s is not a regular file or a symbolic link."),            mu_error (_("%s is not a regular file or a symbolic link."),
# Line 168  mu_check_tls_environment (void) Line 171  mu_check_tls_environment (void)
171          }          }
172    
173        if (stat (ssl_key, &st) == -1)        if (stat (ssl_key, &st) == -1)
174          return 0;          {
175              mu_error ("%s: %s.", ssl_key, strerror(errno));
176              return 0;
177            }
178        if (!(st.st_mode & S_IFREG) || !(st.st_mode & S_IFLNK))        if (!(st.st_mode & S_IFREG) || !(st.st_mode & S_IFLNK))
179          {          {
180            mu_error (_("%s is not a regular file or a symbolic link."),            mu_error (_("%s is not a regular file or a symbolic link."),

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

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