summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-07-16 20:03:40 +0200
committerTomas Mraz <tomas@openssl.org>2023-09-11 10:15:30 +0200
commitbbaeadb068c3289c7df3b7bea0049f70a648ba00 (patch)
tree6b422be112aee4de8ddadf7cf90fc5d7cedf8ca3 /demos
parentad31628cfef5893b2198077752302a7d9b58135c (diff)
"foo * bar" should be "foo *bar"
Found by running the checkpatch.pl Linux script to enforce coding style. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21468)
Diffstat (limited to 'demos')
-rw-r--r--demos/digest/BIO_f_md.c2
-rw-r--r--demos/digest/EVP_MD_demo.c4
-rw-r--r--demos/digest/EVP_MD_stdin.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/demos/digest/BIO_f_md.c b/demos/digest/BIO_f_md.c
index 14697c3a8a..119bdecf3c 100644
--- a/demos/digest/BIO_f_md.c
+++ b/demos/digest/BIO_f_md.c
@@ -34,7 +34,7 @@
* The default digest is SHA3-512
*/
-int main(int argc, char * argv[])
+int main(int argc, char *argv[])
{
int ret = EXIT_FAILURE;
OSSL_LIB_CTX *library_context = NULL;
diff --git a/demos/digest/EVP_MD_demo.c b/demos/digest/EVP_MD_demo.c
index e525eaa7b0..8cf3bd8e7b 100644
--- a/demos/digest/EVP_MD_demo.c
+++ b/demos/digest/EVP_MD_demo.c
@@ -24,7 +24,7 @@
* more than once.
*/
-const char * hamlet_1 =
+const char *hamlet_1 =
"To be, or not to be, that is the question,\n"
"Whether tis nobler in the minde to suffer\n"
"The ſlings and arrowes of outragious fortune,\n"
@@ -43,7 +43,7 @@ const char * hamlet_1 =
"The oppressor's wrong, the proud man's Contumely,\n"
"The pangs of dispised love, the Law's delay,\n"
;
-const char * hamlet_2 =
+const char *hamlet_2 =
"The insolence of Office, and the spurns\n"
"That patient merit of the'unworthy takes,\n"
"When he himself might his Quietas make\n"
diff --git a/demos/digest/EVP_MD_stdin.c b/demos/digest/EVP_MD_stdin.c
index 534c723d57..11bffb6bcc 100644
--- a/demos/digest/EVP_MD_stdin.c
+++ b/demos/digest/EVP_MD_stdin.c
@@ -35,7 +35,7 @@ int demonstrate_digest(BIO *input)
{
OSSL_LIB_CTX *library_context = NULL;
int ret = 0;
- const char * option_properties = NULL;
+ const char *option_properties = NULL;
EVP_MD *message_digest = NULL;
EVP_MD_CTX *digest_context = NULL;
unsigned int digest_length;