Kaydet (Commit) 6717030d authored tarafından Barry Warsaw's avatar Barry Warsaw

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

when missing).
üst b02092a9
...@@ -35,9 +35,8 @@ if it is omitted, a default value of 6 will be used. ...@@ -35,9 +35,8 @@ if it is omitted, a default value of 6 will be used.
Rotor objects have the following methods: Rotor objects have the following methods:
\renewcommand{\indexsubitem}{(rotor method)} \renewcommand{\indexsubitem}{(rotor method)}
\begin{funcdesc}{setkey}{\optional{key}} \begin{funcdesc}{setkey}{key}
Sets the rotor's key to \var{key}. If \var{key} is not given, this Sets the rotor's key to \var{key}.
function does nothing\footnote{This is for backwards compatibility.}.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{encrypt}{plaintext} \begin{funcdesc}{encrypt}{plaintext}
......
...@@ -35,9 +35,8 @@ if it is omitted, a default value of 6 will be used. ...@@ -35,9 +35,8 @@ if it is omitted, a default value of 6 will be used.
Rotor objects have the following methods: Rotor objects have the following methods:
\renewcommand{\indexsubitem}{(rotor method)} \renewcommand{\indexsubitem}{(rotor method)}
\begin{funcdesc}{setkey}{\optional{key}} \begin{funcdesc}{setkey}{key}
Sets the rotor's key to \var{key}. If \var{key} is not given, this Sets the rotor's key to \var{key}.
function does nothing\footnote{This is for backwards compatibility.}.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{encrypt}{plaintext} \begin{funcdesc}{encrypt}{plaintext}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment