if doing command line encryption (-x), ignore prot commands in .netrc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16161 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -256,7 +256,7 @@ next:
|
||||
break;
|
||||
case PROT:
|
||||
token();
|
||||
if(sec_request_prot(tokval) < 0)
|
||||
if(doencrypt == 0 && sec_request_prot(tokval) < 0)
|
||||
warnx("Unknown protection level \"%s\"", tokval);
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user