From c6a1477b0092762299491d79b3a8cb094c6456da Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 27 Jan 2012 20:31:28 +0100 Subject: update to openssl 1.0.0g --- openssl/apps/ca.c | 2 +- openssl/apps/cms.c | 2 +- openssl/apps/openssl-vms.cnf | 2 +- openssl/apps/openssl.cnf | 2 +- openssl/apps/s_client.c | 2 +- openssl/apps/s_server.c | 2 +- openssl/apps/x509.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'openssl/apps') diff --git a/openssl/apps/ca.c b/openssl/apps/ca.c index 6b8b0ef8f..5d11948bb 100644 --- a/openssl/apps/ca.c +++ b/openssl/apps/ca.c @@ -2536,7 +2536,7 @@ static int get_certificate_status(const char *serial, CA_DB *db) /* Make it Upper Case */ for (i=0; row[DB_serial][i] != '\0'; i++) - row[DB_serial][i] = toupper(row[DB_serial][i]); + row[DB_serial][i] = toupper((unsigned char)row[DB_serial][i]); ok=1; diff --git a/openssl/apps/cms.c b/openssl/apps/cms.c index d29a88490..d15925a59 100644 --- a/openssl/apps/cms.c +++ b/openssl/apps/cms.c @@ -618,7 +618,7 @@ int MAIN(int argc, char **argv) BIO_printf (bio_err, "-certsout file certificate output file\n"); BIO_printf (bio_err, "-signer file signer certificate file\n"); BIO_printf (bio_err, "-recip file recipient certificate file for decryption\n"); - BIO_printf (bio_err, "-skeyid use subject key identifier\n"); + BIO_printf (bio_err, "-keyid use subject key identifier\n"); BIO_printf (bio_err, "-in file input file\n"); BIO_printf (bio_err, "-inform arg input format SMIME (default), PEM or DER\n"); BIO_printf (bio_err, "-inkey file input private key (if not signer or recipient)\n"); diff --git a/openssl/apps/openssl-vms.cnf b/openssl/apps/openssl-vms.cnf index 20ed61bc3..45e46a0fb 100644 --- a/openssl/apps/openssl-vms.cnf +++ b/openssl/apps/openssl-vms.cnf @@ -145,7 +145,7 @@ localityName = Locality Name (eg, city) organizationalUnitName = Organizational Unit Name (eg, section) #organizationalUnitName_default = -commonName = Common Name (eg, YOUR name) +commonName = Common Name (e.g. server FQDN or YOUR name) commonName_max = 64 emailAddress = Email Address diff --git a/openssl/apps/openssl.cnf b/openssl/apps/openssl.cnf index 9d2cd5bfa..18760c6e6 100644 --- a/openssl/apps/openssl.cnf +++ b/openssl/apps/openssl.cnf @@ -145,7 +145,7 @@ localityName = Locality Name (eg, city) organizationalUnitName = Organizational Unit Name (eg, section) #organizationalUnitName_default = -commonName = Common Name (eg, YOUR name) +commonName = Common Name (e.g. server FQDN or YOUR name) commonName_max = 64 emailAddress = Email Address diff --git a/openssl/apps/s_client.c b/openssl/apps/s_client.c index 34ad2cec7..53be0f8f8 100644 --- a/openssl/apps/s_client.c +++ b/openssl/apps/s_client.c @@ -581,7 +581,7 @@ int MAIN(int argc, char **argv) psk_key=*(++argv); for (j = 0; j < strlen(psk_key); j++) { - if (isxdigit((int)psk_key[j])) + if (isxdigit((unsigned char)psk_key[j])) continue; BIO_printf(bio_err,"Not a hex number '%s'\n",*argv); goto bad; diff --git a/openssl/apps/s_server.c b/openssl/apps/s_server.c index 8a0c34cf0..a3a04d473 100644 --- a/openssl/apps/s_server.c +++ b/openssl/apps/s_server.c @@ -1103,7 +1103,7 @@ int MAIN(int argc, char *argv[]) psk_key=*(++argv); for (i=0; i