setkey method's argument is no longer optional (it used to be a no-op

when missing).
This commit is contained in:
Barry Warsaw 1997-01-02 19:48:00 +00:00
parent b02092a9b2
commit 6717030dc9
2 changed files with 4 additions and 6 deletions

View File

@ -35,9 +35,8 @@ if it is omitted, a default value of 6 will be used.
Rotor objects have the following methods:
\renewcommand{\indexsubitem}{(rotor method)}
\begin{funcdesc}{setkey}{\optional{key}}
Sets the rotor's key to \var{key}. If \var{key} is not given, this
function does nothing\footnote{This is for backwards compatibility.}.
\begin{funcdesc}{setkey}{key}
Sets the rotor's key to \var{key}.
\end{funcdesc}
\begin{funcdesc}{encrypt}{plaintext}

View File

@ -35,9 +35,8 @@ if it is omitted, a default value of 6 will be used.
Rotor objects have the following methods:
\renewcommand{\indexsubitem}{(rotor method)}
\begin{funcdesc}{setkey}{\optional{key}}
Sets the rotor's key to \var{key}. If \var{key} is not given, this
function does nothing\footnote{This is for backwards compatibility.}.
\begin{funcdesc}{setkey}{key}
Sets the rotor's key to \var{key}.
\end{funcdesc}
\begin{funcdesc}{encrypt}{plaintext}