Skip to content

Commit

Permalink
ispell (and minor modifications)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulf Möller committed Feb 3, 2000
1 parent 9dbc41d commit 657e60f
Show file tree
Hide file tree
Showing 111 changed files with 226 additions and 226 deletions.
4 changes: 2 additions & 2 deletions INSTALL.VMS
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ directory. The syntax is trhe following:

Note: The RSAREF libraries are NOT INCLUDED and you have to
download it from "ftp://ftp.rsa.com/rsaref". You have to
get the ".tar-Z" file as the ".zip" file dosen't have the
get the ".tar-Z" file as the ".zip" file doesn't have the
directory structure stored. You have to extract the file
into the [.RSAREF] directory as that is where the scripts
will look for the files.
Expand Down Expand Up @@ -175,7 +175,7 @@ dependent on the OpenVMS version or the C library version, *and* you
can use those macros to simulate older OpenVMS or C library versions,
by defining the macros _VMS_V6_SOURCE, __VMS_VER and __CTRL_VER with
correct values. In the compilation scripts, I've provided the possibility
for the user to influense the creation of such macros, through a bunch of
for the user to influence the creation of such macros, through a bunch of
symbols, all having names starting with USER_. Here's the list of them:

USER_CCFLAGS - Used to give additional qualifiers to the
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.W32
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Heres a few comments about building OpenSSL in Windows environments. Most of
this is tested on Win32 but it may also work in Win 3.1 with some
modification. See the end of this file for Eric's original comments.
modification.

You need Perl for Win32 (available from http://www.activestate.com/ActivePerl)
and one of the following C compilers:
Expand Down
2 changes: 1 addition & 1 deletion apps/CA.pl.in
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ foreach (@ARGV) {
$RET=$?;
print "Request (and private key) is in newreq.pem\n";
} elsif (/^-newca$/) {
# if explictly asked for or it doesn't exist then setup the
# if explicitly asked for or it doesn't exist then setup the
# directory structure that Eric likes to manage things
$NEW="1";
if ( "$NEW" || ! -f "${CATOP}/serial" ) {
Expand Down
2 changes: 1 addition & 1 deletion apps/CA.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ case $i in
echo "Request (and private key) is in newreq.pem"
;;
-newca)
# if explictly asked for or it doesn't exist then setup the directory
# if explicitly asked for or it doesn't exist then setup the directory
# structure that Eric likes to manage things
NEW="1"
if [ "$NEW" -o ! -f ${CATOP}/serial ]; then
Expand Down
2 changes: 1 addition & 1 deletion apps/app_rand.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ int app_RAND_write_file(const char *file, BIO *bio_e)
if (!seeded)
/* If we did not manage to read the seed file,
* we should not write a low-entropy seed file back --
* it would supress a crucial warning the next time
* it would suppress a crucial warning the next time
* we want to use it. */
return 0;

Expand Down
4 changes: 2 additions & 2 deletions apps/asn1pars.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
* -i - indent the details by depth
* -offset - where in the file to start
* -length - how many bytes to use
* -oid file - extra oid decription file
* -oid file - extra oid description file
*/

#undef PROG
Expand Down Expand Up @@ -172,7 +172,7 @@ int MAIN(int argc, char **argv)
BIO_printf(bio_err," -out arg output file\n");
BIO_printf(bio_err," -noout arg don't produce any output\n");
BIO_printf(bio_err," -offset arg offset into file\n");
BIO_printf(bio_err," -length arg lenth of section in file\n");
BIO_printf(bio_err," -length arg length of section in file\n");
BIO_printf(bio_err," -i indent entries\n");
BIO_printf(bio_err," -oid file file of extra oid definitions\n");
BIO_printf(bio_err," -strparse offset\n");
Expand Down
20 changes: 10 additions & 10 deletions apps/ca.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ EF_ALIGNMENT=0;
}

/*****************************************************************/
/* we definitly need an public key, so lets get it */
/* we definitely need an public key, so lets get it */

if ((keyfile == NULL) && ((keyfile=CONF_get_string(conf,
section,ENV_PRIVATE_KEY)) == NULL))
Expand Down Expand Up @@ -592,7 +592,7 @@ EF_ALIGNMENT=0;
if (access(outdir,R_OK|W_OK|X_OK) != 0)
#endif
{
BIO_printf(bio_err,"I am unable to acces the %s directory\n",outdir);
BIO_printf(bio_err,"I am unable to access the %s directory\n",outdir);
perror(outdir);
goto err;
}
Expand Down Expand Up @@ -676,7 +676,7 @@ EF_ALIGNMENT=0;
TXT_DB_write(out,db);
BIO_printf(bio_err,"%d entries loaded from the database\n",
db->data->num);
BIO_printf(bio_err,"generating indexs\n");
BIO_printf(bio_err,"generating index\n");
}

if (!TXT_DB_create_index(db,DB_serial,NULL,index_serial_hash,
Expand Down Expand Up @@ -1008,14 +1008,14 @@ EF_ALIGNMENT=0;
out=NULL;
if (rename(serialfile,buf[2]) < 0)
{
BIO_printf(bio_err,"unabel to rename %s to %s\n",
BIO_printf(bio_err,"unable to rename %s to %s\n",
serialfile,buf[2]);
perror("reason");
goto err;
}
if (rename(buf[0],serialfile) < 0)
{
BIO_printf(bio_err,"unabel to rename %s to %s\n",
BIO_printf(bio_err,"unable to rename %s to %s\n",
buf[0],serialfile);
perror("reason");
rename(buf[2],serialfile);
Expand All @@ -1032,14 +1032,14 @@ EF_ALIGNMENT=0;

if (rename(dbfile,buf[2]) < 0)
{
BIO_printf(bio_err,"unabel to rename %s to %s\n",
BIO_printf(bio_err,"unable to rename %s to %s\n",
dbfile,buf[2]);
perror("reason");
goto err;
}
if (rename(buf[1],dbfile) < 0)
{
BIO_printf(bio_err,"unabel to rename %s to %s\n",
BIO_printf(bio_err,"unable to rename %s to %s\n",
buf[1],dbfile);
perror("reason");
rename(buf[2],dbfile);
Expand Down Expand Up @@ -1686,7 +1686,7 @@ static int do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509, const EVP_MD *dgst,
}

if (verbose)
BIO_printf(bio_err,"The subject name apears to be ok, checking data base for clashes\n");
BIO_printf(bio_err,"The subject name appears to be ok, checking data base for clashes\n");

row[DB_name]=X509_NAME_oneline(subject,NULL,0);
row[DB_serial]=BN_bn2hex(serial);
Expand Down Expand Up @@ -1743,7 +1743,7 @@ static int do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509, const EVP_MD *dgst,
goto err;
}

/* We are now totaly happy, lets make and sign the certificate */
/* We are now totally happy, lets make and sign the certificate */
if (verbose)
BIO_printf(bio_err,"Everything appears to be ok, creating and signing the certificate\n");

Expand Down Expand Up @@ -1790,7 +1790,7 @@ static int do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509, const EVP_MD *dgst,
ASN1_INTEGER_set(ci->version,2); /* version 3 certificate */

/* Free the current entries if any, there should not
* be any I belive */
* be any I believe */
if (ci->extensions != NULL)
sk_X509_EXTENSION_pop_free(ci->extensions,
X509_EXTENSION_free);
Expand Down
4 changes: 2 additions & 2 deletions apps/dh.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ int MAIN(int argc, char **argv)
BN_print(stdout,dh->g);
printf("\n");
if (dh->length != 0)
printf("recomented private length=%ld\n",dh->length);
printf("recommended private length=%ld\n",dh->length);
#endif
}

Expand Down Expand Up @@ -298,7 +298,7 @@ int MAIN(int argc, char **argv)
}
if (!i)
{
BIO_printf(bio_err,"unable to write DH paramaters\n");
BIO_printf(bio_err,"unable to write DH parameters\n");
ERR_print_errors(bio_err);
goto end;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/dhparam.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ int MAIN(int argc, char **argv)
}
if (!i)
{
BIO_printf(bio_err,"unable to write DH paramaters\n");
BIO_printf(bio_err,"unable to write DH parameters\n");
ERR_print_errors(bio_err);
goto end;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/dsaparam.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ int MAIN(int argc, char **argv)
}
if (!i)
{
BIO_printf(bio_err,"unable to write DSA paramaters\n");
BIO_printf(bio_err,"unable to write DSA parameters\n");
ERR_print_errors(bio_err);
goto end;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ int MAIN(int argc, char **argv)
BIO_printf(bio_err,"rc2 :128 bit key RC2 encryption\n");
#endif
#ifndef NO_BF
BIO_printf(bio_err,"bf :128 bit key BlowFish encryption\n");
BIO_printf(bio_err,"bf :128 bit key Blowfish encryption\n");
#endif
#ifndef NO_RC4
BIO_printf(bio_err," -%-5s :128 bit key RC4 encryption\n",
Expand Down
4 changes: 2 additions & 2 deletions apps/genrsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ int MAIN(int argc, char **argv)
BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
if ((out=BIO_new(BIO_s_file())) == NULL)
{
BIO_printf(bio_err,"unable to creat BIO for output\n");
BIO_printf(bio_err,"unable to create BIO for output\n");
goto err;
}

Expand Down Expand Up @@ -178,7 +178,7 @@ int MAIN(int argc, char **argv)

if (rsa == NULL) goto err;

/* We need to do the folloing for when the base number size is <
/* We need to do the following for when the base number size is <
* long, esp windows 3.1 :-(. */
l=0L;
for (i=0; i<rsa->e->top; i++)
Expand Down
2 changes: 1 addition & 1 deletion apps/pkcs12.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ int MAIN(int argc, char **argv)
CRYPTO_push_info("verify MAC");
#endif
if (!PKCS12_verify_mac (p12, mpass, -1)) {
BIO_printf (bio_err, "Mac verify errror: invalid password?\n");
BIO_printf (bio_err, "Mac verify error: invalid password?\n");
ERR_print_errors (bio_err);
goto end;
} else BIO_printf (bio_err, "MAC verified OK\n");
Expand Down
6 changes: 3 additions & 3 deletions apps/s_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ static void sc_usage(void)
BIO_printf(bio_err," -tls1 - just use TLSv1\n");
BIO_printf(bio_err," -no_tls1/-no_ssl3/-no_ssl2 - turn off that protocol\n");
BIO_printf(bio_err," -bugs - Switch on all SSL implementation bug workarounds\n");
BIO_printf(bio_err," -cipher - prefered cipher to use, use the 'openssl ciphers'\n");
BIO_printf(bio_err," -cipher - preferred cipher to use, use the 'openssl ciphers'\n");
BIO_printf(bio_err," command to see what is available\n");

}
Expand Down Expand Up @@ -354,7 +354,7 @@ int MAIN(int argc, char **argv)
if (state) SSL_CTX_set_info_callback(ctx,apps_ssl_info_callback);
if (cipher != NULL)
if(!SSL_CTX_set_cipher_list(ctx,cipher)) {
BIO_printf(bio_err,"error seting cipher list\n");
BIO_printf(bio_err,"error setting cipher list\n");
ERR_print_errors(bio_err);
goto end;
}
Expand All @@ -370,7 +370,7 @@ int MAIN(int argc, char **argv)
if ((!SSL_CTX_load_verify_locations(ctx,CAfile,CApath)) ||
(!SSL_CTX_set_default_verify_paths(ctx)))
{
/* BIO_printf(bio_err,"error seting default verify locations\n"); */
/* BIO_printf(bio_err,"error setting default verify locations\n"); */
ERR_print_errors(bio_err);
/* goto end; */
}
Expand Down
6 changes: 3 additions & 3 deletions apps/s_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ static void sv_usage(void)
#ifndef NO_DH
BIO_printf(bio_err," -no_dhe - Disable ephemeral DH\n");
#endif
BIO_printf(bio_err," -bugs - Turn on SSL bug compatability\n");
BIO_printf(bio_err," -bugs - Turn on SSL bug compatibility\n");
BIO_printf(bio_err," -www - Respond to a 'GET /' with a status page\n");
BIO_printf(bio_err," -WWW - Respond to a 'GET /<path> HTTP/1.0' with file ./<path>\n");
}
Expand Down Expand Up @@ -698,7 +698,7 @@ int MAIN(int argc, char *argv[])

if (cipher != NULL)
if(!SSL_CTX_set_cipher_list(ctx,cipher)) {
BIO_printf(bio_err,"error seting cipher list\n");
BIO_printf(bio_err,"error setting cipher list\n");
ERR_print_errors(bio_err);
goto end;
}
Expand Down Expand Up @@ -1448,7 +1448,7 @@ static int www_body(char *hostname, int s, unsigned char *context)
/* make sure we re-use sessions */
SSL_set_shutdown(con,SSL_SENT_SHUTDOWN|SSL_RECEIVED_SHUTDOWN);
#else
/* This kills performace */
/* This kills performance */
/* SSL_shutdown(con); A shutdown gets sent in the
* BIO_free_all(io) procession */
#endif
Expand Down
6 changes: 3 additions & 3 deletions apps/s_time.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ static void s_time_usage(void)
file if not specified by this option\n\
-CApath arg - PEM format directory of CA's\n\
-CAfile arg - PEM format file of CA's\n\
-cipher - prefered cipher to use, play with 'openssl ciphers'\n\n";
-cipher - preferred cipher to use, play with 'openssl ciphers'\n\n";

printf( "usage: s_time <args>\n\n" );

Expand All @@ -225,7 +225,7 @@ static void s_time_usage(void)
printf("-nbio - Run with non-blocking IO\n");
printf("-ssl2 - Just use SSLv2\n");
printf("-ssl3 - Just use SSLv3\n");
printf("-bugs - Turn on SSL bug compatability\n");
printf("-bugs - Turn on SSL bug compatibility\n");
printf("-new - Just time new connections\n");
printf("-reuse - Just time connection reuse\n");
printf("-www page - Retrieve 'page' from the site\n");
Expand Down Expand Up @@ -431,7 +431,7 @@ int MAIN(int argc, char **argv)
if ((!SSL_CTX_load_verify_locations(tm_ctx,CAfile,CApath)) ||
(!SSL_CTX_set_default_verify_paths(tm_ctx)))
{
/* BIO_printf(bio_err,"error seting default verify locations\n"); */
/* BIO_printf(bio_err,"error setting default verify locations\n"); */
ERR_print_errors(bio_err);
/* goto end; */
}
Expand Down
2 changes: 1 addition & 1 deletion apps/smime.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ int MAIN(int argc, char **argv)
encerts = sk_X509_new_null();
while (*args) {
if(!(cert = load_cert(*args))) {
BIO_printf(bio_err, "Can't read recipent certificate file %s\n", *args);
BIO_printf(bio_err, "Can't read recipient certificate file %s\n", *args);
goto end;
}
sk_X509_push(encerts, cert);
Expand Down
4 changes: 2 additions & 2 deletions apps/verify.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ int MAIN(int argc, char **argv)
i = X509_PURPOSE_get_by_sname(*(++argv));
if(i < 0)
{
BIO_printf(bio_err, "unrecognised purpose\n");
BIO_printf(bio_err, "unrecognized purpose\n");
goto end;
}
xptmp = X509_PURPOSE_iget(i);
Expand Down Expand Up @@ -185,7 +185,7 @@ int MAIN(int argc, char **argv)
end:
if (ret == 1) {
BIO_printf(bio_err,"usage: verify [-verbose] [-CApath path] [-CAfile file] cert1 cert2 ...\n");
BIO_printf(bio_err,"recognised usages:\n");
BIO_printf(bio_err,"recognized usages:\n");
for(i = 0; i < X509_PURPOSE_get_count(); i++) {
X509_PURPOSE *ptmp;
ptmp = X509_PURPOSE_iget(i);
Expand Down
4 changes: 2 additions & 2 deletions apps/x509.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ static char *x509_usage[]={
" -in arg - input file - default stdin\n",
" -out arg - output file - default stdout\n",
" -passin arg - private key password\n",
" -envpassin arg - read private key password from encvironment variable \"arg\"\n",
" -envpassin arg - read private key password from environment variable \"arg\"\n",
" -serial - print serial number value\n",
" -hash - print hash value\n",
" -subject - print subject DN\n",
Expand All @@ -119,7 +119,7 @@ static char *x509_usage[]={
" -req - input is a certificate request, sign and output.\n",
" -CA arg - set the CA certificate, must be PEM format.\n",
" -CAkey arg - set the CA key, must be PEM format\n",
" missing, it is asssumed to be in the CA file.\n",
" missing, it is assumed to be in the CA file.\n",
" -CAcreateserial - create serial number file if it does not exist\n",
" -CAserial - serial file\n",
" -text - print the certificate in text form\n",
Expand Down
10 changes: 5 additions & 5 deletions crypto/asn1/a_bytes.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ B_ASN1_T61STRING,B_ASN1_VIDEOTEXSTRING,B_ASN1_IA5STRING,0,
B_ASN1_UNIVERSALSTRING,B_ASN1_UNKNOWN,B_ASN1_BMPSTRING,B_ASN1_UNKNOWN,
};

static int asn1_collate_primative(ASN1_STRING *a, ASN1_CTX *c);
static int asn1_collate_primitive(ASN1_STRING *a, ASN1_CTX *c);
/* type is a 'bitmap' of acceptable string types.
*/
ASN1_STRING *d2i_ASN1_type_bytes(ASN1_STRING **a, unsigned char **pp,
Expand Down Expand Up @@ -205,7 +205,7 @@ ASN1_STRING *d2i_ASN1_bytes(ASN1_STRING **a, unsigned char **pp, long length,
c.tag=Ptag;
c.xclass=Pclass;
c.max=(length == 0)?0:(p+length);
if (!asn1_collate_primative(ret,&c))
if (!asn1_collate_primitive(ret,&c))
goto err;
else
{
Expand Down Expand Up @@ -254,11 +254,11 @@ ASN1_STRING *d2i_ASN1_bytes(ASN1_STRING **a, unsigned char **pp, long length,
}


/* We are about to parse 0..n d2i_ASN1_bytes objects, we are to collapes
* them into the one struture that is then returned */
/* We are about to parse 0..n d2i_ASN1_bytes objects, we are to collapse
* them into the one structure that is then returned */
/* There have been a few bug fixes for this function from
* Paul Keogh <[email protected]>, many thanks to him */
static int asn1_collate_primative(ASN1_STRING *a, ASN1_CTX *c)
static int asn1_collate_primitive(ASN1_STRING *a, ASN1_CTX *c)
{
ASN1_STRING *os=NULL;
BUF_MEM b;
Expand Down
2 changes: 1 addition & 1 deletion crypto/asn1/a_null.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#include "cryptlib.h"
#include <openssl/asn1.h>

/* ASN1 functions for NULL type. For compatability with other ASN1 code
/* ASN1 functions for NULL type. For compatibility with other ASN1 code
* it returns a pointer to an "ASN1_NULL" structure. The new/free functions
* don't need to do any allocating because nothing is stored in a NULL.
*/
Expand Down
Loading

0 comments on commit 657e60f

Please sign in to comment.