Skip to content

Commit

Permalink
Correct spelling of database
Browse files Browse the repository at this point in the history
Apply normal sentence case to db update message

CLA: trivial

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from #21535)

(cherry picked from commit ccb2f30)
(cherry picked from commit 4c1fc2c)
  • Loading branch information
fthrslntgy authored and tmshort committed Jul 27, 2023
1 parent f777f9f commit 1c38760
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/ca.c
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ int ca_main(int argc, char **argv)
}
}
/*
* we have a stack of newly certified certificates and a data base
* we have a stack of newly certified certificates and a database
* and serial number that need updating
*/

Expand Down Expand Up @@ -1149,7 +1149,7 @@ int ca_main(int argc, char **argv)
if (!rotate_index(dbfile, "new", "old"))
goto end;

BIO_printf(bio_err, "Data Base Updated\n");
BIO_printf(bio_err, "Database updated\n");
}
}

Expand Down Expand Up @@ -1336,7 +1336,7 @@ int ca_main(int argc, char **argv)
if (!rotate_index(dbfile, "new", "old"))
goto end;

BIO_printf(bio_err, "Data Base Updated\n");
BIO_printf(bio_err, "Database updated\n");
}
}
ret = 0;
Expand Down Expand Up @@ -1778,7 +1778,7 @@ static int do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509,

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

/* Build the correct Subject if no e-mail is wanted in the subject. */
if (!email_dn) {
Expand Down Expand Up @@ -1867,7 +1867,7 @@ static int do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509,
else if (rrow[DB_type][0] == DB_TYPE_VAL)
p = "Valid";
else
p = "\ninvalid type, Data base error\n";
p = "\ninvalid type, Database error\n";
BIO_printf(bio_err, "Type :%s\n", p);;
if (rrow[DB_type][0] == DB_TYPE_REV) {
p = rrow[DB_exp_date];
Expand Down

0 comments on commit 1c38760

Please sign in to comment.