Fixed a bunch of typos in the docs

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Alex Gaynor 2016-03-19 12:28:58 -04:00 committed by Rich Salz
parent 34c2db9b56
commit 35ed393e5e
23 changed files with 29 additions and 29 deletions

View File

@ -258,7 +258,7 @@ Here is some skeleton code you can fill in:
} }
else if (!(xs->ex_flags & EXFLAG_CA)) else if (!(xs->ex_flags & EXFLAG_CA))
{ {
/* We have a EE certificate, let's use it to set default! /* We have an EE certificate, let's use it to set default!
*/ */
YOUR_RIGHTS *rights = YOUR_RIGHTS *rights =
(YOUR_RIGHTS *)X509_STORE_CTX_get_ex_data(ctx, (YOUR_RIGHTS *)X509_STORE_CTX_get_ex_data(ctx,

View File

@ -101,7 +101,7 @@ section for information on the required input and output format.
=item B<-infiles> =item B<-infiles>
if present this should be the last option, all subsequent arguments if present this should be the last option, all subsequent arguments
are assumed to the the names of files containing certificate requests. are assumed to the names of files containing certificate requests.
=item B<-out filename> =item B<-out filename>

View File

@ -454,7 +454,7 @@ see the B<PASS PHRASE ARGUMENTS> section in L<openssl(1)>.
a file or files containing random data used to seed the random number a file or files containing random data used to seed the random number
generator, or an EGD socket (see L<RAND_egd(3)>). generator, or an EGD socket (see L<RAND_egd(3)>).
Multiple files can be specified separated by a OS-dependent character. Multiple files can be specified separated by an OS-dependent character.
The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
all others. all others.

View File

@ -292,7 +292,7 @@ This next example shows how to expand environment variables safely.
Suppose you want a variable called B<tmpfile> to refer to a Suppose you want a variable called B<tmpfile> to refer to a
temporary filename. The directory it is placed in can determined by temporary filename. The directory it is placed in can determined by
the the B<TEMP> or B<TMP> environment variables but they may not be the B<TEMP> or B<TMP> environment variables but they may not be
set to any value at all. If you just include the environment variable set to any value at all. If you just include the environment variable
names and the variable doesn't exist then this will cause an error when names and the variable doesn't exist then this will cause an error when
an attempt is made to load the configuration file. By making use of the an attempt is made to load the configuration file. By making use of the
@ -344,7 +344,7 @@ More complex OpenSSL library configuration. Add OID and don't enter FIPS mode:
# New OID shortname and long name # New OID shortname and long name
newoid2 = New OID 2 long name, 1.2.3.4.2 newoid2 = New OID 2 long name, 1.2.3.4.2
The above examples can be used with with any application supporting library The above examples can be used with any application supporting library
configuration if "openssl_conf" is modified to match the appropriate "appname". configuration if "openssl_conf" is modified to match the appropriate "appname".
For example if the second sample file above is saved to "example.cnf" then For example if the second sample file above is saved to "example.cnf" then

View File

@ -106,12 +106,12 @@ see the B<PASS PHRASE ARGUMENTS> section in L<openssl(1)>.
=item B<-verify filename> =item B<-verify filename>
verify the signature using the the public key in "filename". verify the signature using the public key in "filename".
The output is either "Verification OK" or "Verification Failure". The output is either "Verification OK" or "Verification Failure".
=item B<-prverify filename> =item B<-prverify filename>
verify the signature using the the private key in "filename". verify the signature using the private key in "filename".
=item B<-signature filename> =item B<-signature filename>
@ -154,7 +154,7 @@ for example exactly 32 chars for gost-mac.
a file or files containing random data used to seed the random number a file or files containing random data used to seed the random number
generator, or an EGD socket (see L<RAND_egd(3)>). generator, or an EGD socket (see L<RAND_egd(3)>).
Multiple files can be specified separated by a OS-dependent character. Multiple files can be specified separated by an OS-dependent character.
The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
all others. all others.

View File

@ -85,7 +85,7 @@ default generator 2.
a file or files containing random data used to seed the random number a file or files containing random data used to seed the random number
generator, or an EGD socket (see L<RAND_egd(3)>). generator, or an EGD socket (see L<RAND_egd(3)>).
Multiple files can be specified separated by a OS-dependent character. Multiple files can be specified separated by an OS-dependent character.
The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
all others. all others.

View File

@ -78,7 +78,7 @@ parameters.
a file or files containing random data used to seed the random number a file or files containing random data used to seed the random number
generator, or an EGD socket (see L<RAND_egd(3)>). generator, or an EGD socket (see L<RAND_egd(3)>).
Multiple files can be specified separated by a OS-dependent character. Multiple files can be specified separated by an OS-dependent character.
The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
all others. all others.

View File

@ -33,7 +33,7 @@ B<openssl> B<ec>
The B<ec> command processes EC keys. They can be converted between various The B<ec> command processes EC keys. They can be converted between various
forms and their components printed out. B<Note> OpenSSL uses the forms and their components printed out. B<Note> OpenSSL uses the
private key format specified in 'SEC 1: Elliptic Curve Cryptography' private key format specified in 'SEC 1: Elliptic Curve Cryptography'
(http://www.secg.org/). To convert a OpenSSL EC private key into the (http://www.secg.org/). To convert an OpenSSL EC private key into the
PKCS#8 private key format use the B<pkcs8> command. PKCS#8 private key format use the B<pkcs8> command.
=head1 COMMAND OPTIONS =head1 COMMAND OPTIONS
@ -129,7 +129,7 @@ the preprocessor macro B<OPENSSL_EC_BIN_PT_COMP> at compile time.
This specifies how the elliptic curve parameters are encoded. This specifies how the elliptic curve parameters are encoded.
Possible value are: B<named_curve>, i.e. the ec parameters are Possible value are: B<named_curve>, i.e. the ec parameters are
specified by a OID, or B<explicit> where the ec parameters are specified by an OID, or B<explicit> where the ec parameters are
explicitly given (see RFC 3279 for the definition of the explicitly given (see RFC 3279 for the definition of the
EC parameters structures). The default value is B<named_curve>. EC parameters structures). The default value is B<named_curve>.
B<Note> the B<implicitlyCA> alternative ,as specified in RFC 3279, B<Note> the B<implicitlyCA> alternative ,as specified in RFC 3279,

View File

@ -101,7 +101,7 @@ the preprocessor macro B<OPENSSL_EC_BIN_PT_COMP> at compile time.
This specifies how the elliptic curve parameters are encoded. This specifies how the elliptic curve parameters are encoded.
Possible value are: B<named_curve>, i.e. the ec parameters are Possible value are: B<named_curve>, i.e. the ec parameters are
specified by a OID, or B<explicit> where the ec parameters are specified by an OID, or B<explicit> where the ec parameters are
explicitly given (see RFC 3279 for the definition of the explicitly given (see RFC 3279 for the definition of the
EC parameters structures). The default value is B<named_curve>. EC parameters structures). The default value is B<named_curve>.
B<Note> the B<implicitlyCA> alternative ,as specified in RFC 3279, B<Note> the B<implicitlyCA> alternative ,as specified in RFC 3279,
@ -114,13 +114,13 @@ is included in the ECParameters structure (see RFC 3279).
=item B<-genkey> =item B<-genkey>
This option will generate a EC private key using the specified parameters. This option will generate an EC private key using the specified parameters.
=item B<-rand file(s)> =item B<-rand file(s)>
a file or files containing random data used to seed the random number a file or files containing random data used to seed the random number
generator, or an EGD socket (see L<RAND_egd(3)>). generator, or an EGD socket (see L<RAND_egd(3)>).
Multiple files can be specified separated by a OS-dependent character. Multiple files can be specified separated by an OS-dependent character.
The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
all others. all others.

View File

@ -50,7 +50,7 @@ If none of these options is specified no encryption is used.
a file or files containing random data used to seed the random number a file or files containing random data used to seed the random number
generator, or an EGD socket (see L<RAND_egd(3)>). generator, or an EGD socket (see L<RAND_egd(3)>).
Multiple files can be specified separated by a OS-dependent character. Multiple files can be specified separated by an OS-dependent character.
The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
all others. all others.

View File

@ -62,7 +62,7 @@ the public exponent to use, either 65537 or 3. The default is 65537.
a file or files containing random data used to seed the random number a file or files containing random data used to seed the random number
generator, or an EGD socket (see L<RAND_egd(3)>). generator, or an EGD socket (see L<RAND_egd(3)>).
Multiple files can be specified separated by a OS-dependent character. Multiple files can be specified separated by an OS-dependent character.
The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
all others. all others.

View File

@ -274,7 +274,7 @@ don't attempt to provide the MAC integrity.
a file or files containing random data used to seed the random number a file or files containing random data used to seed the random number
generator, or an EGD socket (see L<RAND_egd(3)>). generator, or an EGD socket (see L<RAND_egd(3)>).
Multiple files can be specified separated by a OS-dependent character. Multiple files can be specified separated by an OS-dependent character.
The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
all others. all others.

View File

@ -39,7 +39,7 @@ Write to I<file> instead of standard output.
Use specified file or files or EGD socket (see L<RAND_egd(3)>) Use specified file or files or EGD socket (see L<RAND_egd(3)>)
for seeding the random number generator. for seeding the random number generator.
Multiple files can be specified separated by a OS-dependent character. Multiple files can be specified separated by an OS-dependent character.
The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
all others. all others.

View File

@ -134,7 +134,7 @@ key using information specified in the configuration file.
a file or files containing random data used to seed the random number a file or files containing random data used to seed the random number
generator, or an EGD socket (see L<RAND_egd(3)>). generator, or an EGD socket (see L<RAND_egd(3)>).
Multiple files can be specified separated by a OS-dependent character. Multiple files can be specified separated by an OS-dependent character.
The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
all others. all others.

View File

@ -436,7 +436,7 @@ for all available algorithms.
a file or files containing random data used to seed the random number a file or files containing random data used to seed the random number
generator, or an EGD socket (see L<RAND_egd(3)>). generator, or an EGD socket (see L<RAND_egd(3)>).
Multiple files can be specified separated by a OS-dependent character. Multiple files can be specified separated by an OS-dependent character.
The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
all others. all others.

View File

@ -435,7 +435,7 @@ IDs (eg. with a certain prefix).
A file or files containing random data used to seed the random number A file or files containing random data used to seed the random number
generator, or an EGD socket (see L<RAND_egd(3)>). generator, or an EGD socket (see L<RAND_egd(3)>).
Multiple files can be specified separated by a OS-dependent character. Multiple files can be specified separated by an OS-dependent character.
The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
all others. all others.

View File

@ -286,7 +286,7 @@ see the B<PASS PHRASE ARGUMENTS> section in L<openssl(1)>.
a file or files containing random data used to seed the random number a file or files containing random data used to seed the random number
generator, or an EGD socket (see L<RAND_egd(3)>). generator, or an EGD socket (see L<RAND_egd(3)>).
Multiple files can be specified separated by a OS-dependent character. Multiple files can be specified separated by an OS-dependent character.
The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
all others. all others.

View File

@ -200,7 +200,7 @@ effect.
=item B<-untrusted file> =item B<-untrusted file>
A B<file> of additional untrusted certificates (intermediate issuer CAs) used A B<file> of additional untrusted certificates (intermediate issuer CAs) used
to constuct a certificate chain from the subject certificate to a trust-anchor. to construct a certificate chain from the subject certificate to a trust-anchor.
The B<file> should contain one or more certificates in PEM format. The B<file> should contain one or more certificates in PEM format.
This option can be specified more than once to include untrusted certiificates This option can be specified more than once to include untrusted certiificates
from multiple B<files>. from multiple B<files>.

View File

@ -151,7 +151,7 @@ this option prevents output of the encoded version of the request.
=item B<-pubkey> =item B<-pubkey>
outputs the the certificate's SubjectPublicKeyInfo block in PEM format. outputs the certificate's SubjectPublicKeyInfo block in PEM format.
=item B<-modulus> =item B<-modulus>

View File

@ -106,7 +106,7 @@ B<ASN1_ENUMERATED> structure respectively or NULL if an error occurs. They will
only fail due to a memory allocation error. only fail due to a memory allocation error.
ASN1_INTEGER_to_BN() and ASN1_ENUMERATED_to_BN() return a B<BIGNUM> structure ASN1_INTEGER_to_BN() and ASN1_ENUMERATED_to_BN() return a B<BIGNUM> structure
of NULL if an error occurs. They can fail if the pased type is incorrect of NULL if an error occurs. They can fail if the passed type is incorrect
(due to programming error) or due to a memory allocation failure. (due to programming error) or due to a memory allocation failure.
=head1 SEE ALSO =head1 SEE ALSO

View File

@ -16,7 +16,7 @@ ASN1_OBJECT_new, ASN1_OBJECT_free - object allocation functions
The ASN1_OBJECT allocation routines, allocate and free an The ASN1_OBJECT allocation routines, allocate and free an
ASN1_OBJECT structure, which represents an ASN1 OBJECT IDENTIFIER. ASN1_OBJECT structure, which represents an ASN1 OBJECT IDENTIFIER.
ASN1_OBJECT_new() allocates and initializes a ASN1_OBJECT structure. ASN1_OBJECT_new() allocates and initializes an ASN1_OBJECT structure.
ASN1_OBJECT_free() frees up the B<ASN1_OBJECT> structure B<a>. ASN1_OBJECT_free() frees up the B<ASN1_OBJECT> structure B<a>.
If B<a> is NULL, nothing is done. If B<a> is NULL, nothing is done.

View File

@ -135,7 +135,7 @@ application acquires a lock. It then calls some cryptographic function which
invokes ASYNC_pause_job(). This returns control back to the code that created invokes ASYNC_pause_job(). This returns control back to the code that created
the ASYNC_JOB. If that code then attempts to acquire the same lock before the ASYNC_JOB. If that code then attempts to acquire the same lock before
resuming the original job then a deadlock can occur. By calling resuming the original job then a deadlock can occur. By calling
ASYNC_block_pause() immediately after aquiring the lock and ASYNC_block_pause() immediately after acquiring the lock and
ASYNC_unblock_pause() immediately before releasing it then this situation cannot ASYNC_unblock_pause() immediately before releasing it then this situation cannot
occur. occur.

View File

@ -71,7 +71,7 @@ with the given one.
=head1 RETURN VALUES =head1 RETURN VALUES
BIO_lookup() returns 1 on success and 0 when an error occured, and BIO_lookup() returns 1 on success and 0 when an error occurred, and
will leave an error indicaton on the OpenSSL error stack in that case. will leave an error indicaton on the OpenSSL error stack in that case.
All other functions described here return 0 or B<NULL> when the All other functions described here return 0 or B<NULL> when the