Skip to content

Commit

Permalink
heimdal: Fix man page and documentation typos
Browse files Browse the repository at this point in the history
Reported by:	Jens Schweikhardt <[email protected]>

(cherry picked from commit fc55c20355d889bf3d3f81d94b3614a0c4253fa0)
  • Loading branch information
cschuber authored and laffer1 committed Jan 29, 2024
1 parent 8f8ed48 commit e76178b
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion crypto/heimdal/appl/ftp/ftp/ftp.1
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ current remote machine working directory.
Change the permission modes of the file
.Ar file-name
on the remote
sytem to
system to
.Ar mode .
.It Ic close
Terminate the
Expand Down
4 changes: 2 additions & 2 deletions crypto/heimdal/appl/rsh/rsh.1
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ section).
.Xc
Connect to this port instead of the default (which is 514 when using
old port based authentication, 544 for Kerberos 5 and non-encrypted
Kerberos 4, and 545 for encrytpted Kerberos 4; subject of course to
Kerberos 4, and 545 for encrypted Kerberos 4; subject of course to
the contents of
.Pa /etc/services ) .
.It Xo
Expand Down Expand Up @@ -290,5 +290,5 @@ any secret information in the command line (which is probably a bad
idea anyway, since the command line can usually be read with tools
like
.Xr ps 1 ) .
Forthermore in Kerberos 4 the command is not even integrity
Furthermore in Kerberos 4 the command is not even integrity
protected, so anyone with the right tools can modify the command.
6 changes: 3 additions & 3 deletions crypto/heimdal/doc/doxyout/hcrypto/man/man3/hcrypto_evp.3
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ Free the resources used by the EVP_MD context.

.SS "EVP_MD_CTX* EVP_MD_CTX_create (void)"
.PP
Allocate a messsage digest context object. Free with \fBEVP_MD_CTX_destroy()\fP.
Allocate a message digest context object. Free with \fBEVP_MD_CTX_destroy()\fP.
.PP
\fBReturns:\fP
.RS 4
Expand All @@ -1114,7 +1114,7 @@ a newly allocated message digest context object.

.SS "void EVP_MD_CTX_destroy (EVP_MD_CTX * ctx)"
.PP
Free a messsage digest context object.
Free a message digest context object.
.PP
\fBParameters:\fP
.RS 4
Expand All @@ -1124,7 +1124,7 @@ Free a messsage digest context object.

.SS "void EVP_MD_CTX_init (EVP_MD_CTX * ctx)"
.PP
Initiate a messsage digest context object. Deallocate with \fBEVP_MD_CTX_cleanup()\fP. Please use \fBEVP_MD_CTX_create()\fP instead.
Initiate a message digest context object. Deallocate with \fBEVP_MD_CTX_cleanup()\fP. Please use \fBEVP_MD_CTX_create()\fP instead.
.PP
\fBParameters:\fP
.RS 4
Expand Down
2 changes: 1 addition & 1 deletion crypto/heimdal/doc/doxyout/hx509/man/man3/hx509_ca.3
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ Expand the the subject name in the to-be-signed certificate object using \fBhx50
.br
\fItbs\fP object to be signed.
.br
\fIenv\fP enviroment variable to expand variables in the subject name, see hx509_env_init().
\fIenv\fP environment variable to expand variables in the subject name, see hx509_env_init().
.RE
.PP
\fBReturns:\fP
Expand Down
18 changes: 9 additions & 9 deletions crypto/heimdal/doc/doxyout/hx509/man/man3/hx509_env.3
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.TH "hx509 enviroment functions" 3 "11 Jan 2012" "Version 1.5.2" "Heimdalx509library" \" -*- nroff -*-
.TH "hx509 environment functions" 3 "11 Jan 2012" "Version 1.5.2" "Heimdalx509library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
hx509 enviroment functions \-
hx509 environment functions \-
.SS "Functions"

.in +1c
Expand Down Expand Up @@ -38,7 +38,7 @@ Add a new key/value pair to the hx509_env.
.RS 4
\fIcontext\fP A hx509 context.
.br
\fIenv\fP enviroment to add the enviroment variable too.
\fIenv\fP environment to add the environment variable too.
.br
\fIkey\fP key to add
.br
Expand All @@ -59,7 +59,7 @@ Add a new key/binding pair to the hx509_env.
.RS 4
\fIcontext\fP A hx509 context.
.br
\fIenv\fP enviroment to add the enviroment variable too.
\fIenv\fP environment to add the environment variable too.
.br
\fIkey\fP key to add
.br
Expand All @@ -80,7 +80,7 @@ Search the hx509_env for a key.
.RS 4
\fIcontext\fP A hx509 context.
.br
\fIenv\fP enviroment to add the enviroment variable too.
\fIenv\fP environment to add the environment variable too.
.br
\fIkey\fP key to search for.
.RE
Expand All @@ -99,7 +99,7 @@ Search the hx509_env for a binding.
.RS 4
\fIcontext\fP A hx509 context.
.br
\fIenv\fP enviroment to add the enviroment variable too.
\fIenv\fP environment to add the environment variable too.
.br
\fIkey\fP key to search for.
.RE
Expand All @@ -112,11 +112,11 @@ the binding if the key is found, NULL if not found.

.SS "void hx509_env_free (hx509_env * env)"
.PP
Free an hx509_env enviroment context.
Free an hx509_env environment context.
.PP
\fBParameters:\fP
.RS 4
\fIenv\fP the enviroment to free.
\fIenv\fP the environment to free.
.RE
.PP

Expand All @@ -128,7 +128,7 @@ Search the hx509_env for a length based key.
.RS 4
\fIcontext\fP A hx509 context.
.br
\fIenv\fP enviroment to add the enviroment variable too.
\fIenv\fP environment to add the environment variable too.
.br
\fIkey\fP key to search for.
.br
Expand Down
2 changes: 1 addition & 1 deletion crypto/heimdal/doc/doxyout/hx509/man/man3/hx509_verify.3
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ Allow or deny the use of proxy certificates

.SS "void hx509_verify_set_strict_rfc3280_verification (hx509_verify_ctx ctx, int boolean)"
.PP
Select strict RFC3280 verification of certificiates. This means checking key usage on CA certificates, this will make version 1 certificiates unuseable.
Select strict RFC3280 verification of certificiates. This means checking key usage on CA certificates, this will make version 1 certificiates unusable.
.PP
\fBParameters:\fP
.RS 4
Expand Down
4 changes: 2 additions & 2 deletions crypto/heimdal/doc/doxyout/hx509/man/man3/page_env.3
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
.ad l
.nh
.SH NAME
page_env \- Hx509 enviroment functions
See the library functions here: \fBhx509 enviroment functions\fP
page_env \- Hx509 environment functions
See the library functions here: \fBhx509 environment functions\fP
2 changes: 1 addition & 1 deletion crypto/heimdal/doc/doxyout/krb5/man/man3/krb5_address.3
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ krb5_free_address frees the data stored in the address that is alloced with any
.RS 4
\fIcontext\fP a Keberos context
.br
\fIaddress\fP addresss to be freed.
\fIaddress\fP address to be freed.
.RE
.PP
\fBReturns:\fP
Expand Down
4 changes: 2 additions & 2 deletions crypto/heimdal/doc/doxyout/krb5/man/man3/krb5_ccache.3
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ Returns 0 or an error (and then *str is set to NULL).

.SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_cc_get_kdc_offset (krb5_context context, krb5_ccache id, krb5_deltat * offset)"
.PP
Get the time offset betwen the client and the KDC
Get the time offset between the client and the KDC
.PP
If the backend doesn't support KDC offset, use the context global setting.
.PP
Expand Down Expand Up @@ -625,7 +625,7 @@ Return an error code or 0, see krb5_get_error_message().

.SS "KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_cc_set_kdc_offset (krb5_context context, krb5_ccache id, krb5_deltat offset)"
.PP
Set the time offset betwen the client and the KDC
Set the time offset between the client and the KDC
.PP
If the backend doesn't support KDC offset, use the context global setting.
.PP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Fields and their types are:
.PP
.PP
.nf
Quoted princial (quote character is \) [string]
Quoted principal (quote character is \) [string]
Keys [keys]
Created by [event]
Modified by [event optional]
Expand Down
2 changes: 1 addition & 1 deletion crypto/heimdal/doc/doxyout/krb5/man/man3/krb5_principal.3
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ Create a principal for the service running on hostname. If KRB5_NT_SRV_HST is us
.br
\fIsname\fP Service name to use
.br
\fItype\fP name type of pricipal, use KRB5_NT_SRV_HST or KRB5_NT_UNKNOWN.
\fItype\fP name type of principal, use KRB5_NT_SRV_HST or KRB5_NT_UNKNOWN.
.br
\fIret_princ\fP return principal, free with \fBkrb5_free_principal()\fP.
.RE
Expand Down
4 changes: 2 additions & 2 deletions crypto/heimdal/doc/doxyout/krb5/man/man3/krb5_v4compat.3
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.TH "Heimdal Kerberos 4 compatiblity functions" 3 "11 Jan 2012" "Version 1.5.2" "HeimdalKerberos5library" \" -*- nroff -*-
.TH "Heimdal Kerberos 4 compatibility functions" 3 "11 Jan 2012" "Version 1.5.2" "HeimdalKerberos5library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Heimdal Kerberos 4 compatiblity functions \-
Heimdal Kerberos 4 compatibility functions \-
.SS "Functions"

.in +1c
Expand Down
2 changes: 1 addition & 1 deletion crypto/heimdal/kdc/kdc.8
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Specifies the location of the config file, the default is
.Pa /var/heimdal/kdc.conf .
This is the only value that can't be specified in the config file.
.It Fl p , Fl Fl no-require-preauth
Turn off the requirement for pre-autentication in the initial AS-REQ
Turn off the requirement for pre-authentication in the initial AS-REQ
for all principals.
The use of pre-authentication makes it more difficult to do offline
password attacks.
Expand Down
2 changes: 1 addition & 1 deletion crypto/heimdal/lib/krb5/krb5_get_init_creds.3
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ sets the salt that is going to be used in the request.
sets requested ticket lifetime.
.Pp
.Fn krb5_get_init_creds_opt_set_canonicalize
requests that the KDC canonicalize the client pricipal if possible.
requests that the KDC canonicalize the client principal if possible.
.Pp
.Fn krb5_get_init_creds_opt_set_win2k
turns on compatibility with Windows 2000.
Expand Down
2 changes: 1 addition & 1 deletion crypto/heimdal/lib/krb5/krb5_principal.3
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ A reason to return
.Dv krb5_data
was that it was believed that principal components could contain
binary data, but this belief was unfounded, and it has been decided
that principal components are infact UTF8, so it's safe to use zero
that principal components are in fact UTF8, so it's safe to use zero
terminated strings.
.Pp
It's generally not necessary to look at the components of a principal.
Expand Down
4 changes: 2 additions & 2 deletions crypto/heimdal/lib/roken/getarg.3
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ is the long name of the option, it can be
.Dv NULL ,
if you don't want a long name.
.Fa short_name
is the characted to use as short option, it can be zero. If the option
is the character to use as short option, it can be zero. If the option
has a value the
.Fa value
field gets filled in with that value interpreted as specified by the
Expand Down Expand Up @@ -334,7 +334,7 @@ the options come in the correct order.
.Pp
Options with multiple arguments should be handled better.
.Pp
Should be integreated with SL.
Should be integrated with SL.
.Pp
It's very confusing that the struct you pass in is called getargS.
.Sh SEE ALSO
Expand Down

0 comments on commit e76178b

Please sign in to comment.