aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-10-27 00:15:14 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-10-27 00:15:14 +0000
commit0d1e69ae10af5eba7cd3426e802d40d17b6db218 (patch)
treed838573a667ed2ba75e04797f87eb9f45f1df05f /rcfile_y.y
parent8d293a3b12a5e2c4ecc6f70bcd59b862294458c8 (diff)
downloadfetchmail-0d1e69ae10af5eba7cd3426e802d40d17b6db218.tar.gz
fetchmail-0d1e69ae10af5eba7cd3426e802d40d17b6db218.tar.bz2
fetchmail-0d1e69ae10af5eba7cd3426e802d40d17b6db218.zip
This preliminary SSL patch goes to Mike.
svn path=/trunk/; revision=2643
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y8
1 files changed, 7 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 57e47444..9bea1636 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -69,7 +69,7 @@ extern char * yytext;
%token <sval> STRING
%token <number> NUMBER
%token NO KEEP FLUSH FETCHALL REWRITE FORCECR STRIPCR PASS8BITS DROPSTATUS
-%token DNS SERVICE PORT UIDL INTERVAL MIMEDECODE CHECKALIAS
+%token DNS SERVICE PORT UIDL INTERVAL MIMEDECODE CHECKALIAS SSL SSLKEY SSLCERT
%%
@@ -317,6 +317,10 @@ user_option : TO localnames HERE
| DROPSTATUS {current.dropstatus = FLAG_TRUE;}
| MIMEDECODE {current.mimedecode = FLAG_TRUE;}
+ | SSL {current.use_ssl = FLAG_TRUE;}
+ | SSLKEY STRING {current.sslkey = xstrdup($2);}
+ | SSLCERT STRING {current.sslcert = xstrdup($2);}
+
| NO KEEP {current.keep = FLAG_FALSE;}
| NO FLUSH {current.flush = FLAG_FALSE;}
| NO FETCHALL {current.fetchall = FLAG_FALSE;}
@@ -327,6 +331,8 @@ user_option : TO localnames HERE
| NO DROPSTATUS {current.dropstatus = FLAG_FALSE;}
| NO MIMEDECODE {current.mimedecode = FLAG_FALSE;}
+ | NO SSL {current.use_ssl = FLAG_FALSE;}
+
| LIMIT NUMBER {current.limit = NUM_VALUE_IN($2);}
| WARNINGS NUMBER {current.warnings = NUM_VALUE_IN($2);}
| FETCHLIMIT NUMBER {current.fetchlimit = NUM_VALUE_IN($2);}