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)
  • Loading branch information
fthrslntgy authored and tmshort committed Jul 27, 2023
1 parent bdcaa47 commit ccb2f30
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 @@ -1017,7 +1017,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 @@ -1118,7 +1118,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 @@ -1297,7 +1297,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 @@ -1748,7 +1748,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 @@ -1837,7 +1837,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 ccb2f30

Please sign in to comment.