From fb28837ff14fbb0916e52ad30334cbdbbebcf773 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 23 Oct 1990 14:48:28 +0000 Subject: [PATCH] change random_confounder interface to fill in the area requested git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1312 dc483132-0cff-0310-8789-dd5450dbe970 --- doc/api/libos.tex | 9 +++++++-- doc/implement/libos-i.tex | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/doc/api/libos.tex b/doc/api/libos.tex index 7fe801b3d..a9ef37330 100644 --- a/doc/api/libos.tex +++ b/doc/api/libos.tex @@ -263,7 +263,12 @@ Given a Kerberos principal \funcparam{principal}, and a local username determine whether user is authorized to login to the account \funcparam{luser}. Returns TRUE if authorized, FALSE if not authorized. -\begin{funcdecl}{krb5_random_confounder}{krb5_confounder}{\funcvoid} +\begin{funcdecl}{krb5_random_confounder}{krb5_error_code}{\funcin} +\funcarg{int}{size} +\funcout +\funcarg{krb5_pointer}{fillin} \end{funcdecl} -Generate a random confounder. +Given a length and a pointer, fills in the area pointed to by +\funcparam{fillin} with \funcparam{size} random octets suitable for use +in a confounder. diff --git a/doc/implement/libos-i.tex b/doc/implement/libos-i.tex index 7fe801b3d..a9ef37330 100644 --- a/doc/implement/libos-i.tex +++ b/doc/implement/libos-i.tex @@ -263,7 +263,12 @@ Given a Kerberos principal \funcparam{principal}, and a local username determine whether user is authorized to login to the account \funcparam{luser}. Returns TRUE if authorized, FALSE if not authorized. -\begin{funcdecl}{krb5_random_confounder}{krb5_confounder}{\funcvoid} +\begin{funcdecl}{krb5_random_confounder}{krb5_error_code}{\funcin} +\funcarg{int}{size} +\funcout +\funcarg{krb5_pointer}{fillin} \end{funcdecl} -Generate a random confounder. +Given a length and a pointer, fills in the area pointed to by +\funcparam{fillin} with \funcparam{size} random octets suitable for use +in a confounder. -- 2.26.2