Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libwebsockets
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Fork
libwebsockets
Commits
67e246fc
Commit
67e246fc
authored
10 years ago
by
wonder-mice
Committed by
Andy Green
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Subject: [PATCH] Be quite when executing openssl commands
parent
41802c7a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+4
-2
4 additions, 2 deletions
CMakeLists.txt
with
4 additions
and
2 deletions
CMakeLists.txt
+
4
−
2
View file @
67e246fc
...
...
@@ -660,7 +660,8 @@ if (NOT LWS_WITHOUT_TESTAPPS)
execute_process
(
COMMAND cmd /c type
"
${
OPENSSL_INPUT_WIN_PATH
}
"
COMMAND
"
${
OPENSSL_EXECUTABLE
}
"
req -new -newkey rsa:1024 -days 10000 -nodes -x509 -keyout
"
${
TEST_SERVER_SSL_KEY
}
"
-out
"
${
TEST_SERVER_SSL_CERT
}
"
RESULT_VARIABLE OPENSSL_RETURN_CODE
)
RESULT_VARIABLE OPENSSL_RETURN_CODE
OUTPUT_QUIET ERROR_QUIET
)
message
(
"
\n
"
)
...
...
@@ -675,7 +676,8 @@ if (NOT LWS_WITHOUT_TESTAPPS)
COMMAND printf
"GB
\\
nErewhon
\\
nAll around
\\
nlibwebsockets-test
\\
n
\\
nlocalhost
\\
nnone@invalid.org
\\
n"
COMMAND
"
${
OPENSSL_EXECUTABLE
}
"
req -new -newkey rsa:1024 -days 10000 -nodes -x509 -keyout
"
${
TEST_SERVER_SSL_KEY
}
"
-out
"
${
TEST_SERVER_SSL_CERT
}
"
RESULT_VARIABLE OPENSSL_RETURN_CODE
)
RESULT_VARIABLE OPENSSL_RETURN_CODE
OUTPUT_QUIET ERROR_QUIET
)
if
(
OPENSSL_RETURN_CODE
)
message
(
WARNING
"!!! Failed to generate SSL certificate for Test Server!!!:
\n
OpenSSL return code =
${
OPENSSL_RETURN_CODE
}
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment