commit | 3fcb12d03cd99b6e0ea5a1a332676af440930bfa | [log] [tgz] |
---|---|---|
author | Manojkiran Eda <manojkiran.eda@gmail.com> | Tue Aug 25 23:04:03 2020 +0530 |
committer | ManojKiran Eda <manojkiran.eda@gmail.com> | Wed Aug 26 03:08:30 2020 +0000 |
tree | 7a6fe9c5f66564bb6c6bf1f5a05afcb36168f4fe | |
parent | 3bcc01520b0f01174dc7933fde9bcbc0efef6721 [diff] |
Fix:Mismatch of IF and ENDIF expressions when compiling with clang - When bmcweb is compiled with clang compiler, Cmake throws a warning as the expressions of IF and ENDIF are mismatched. - This commit would fix the warning. Tested By: - When cmake is triggered with clang compiler, the warning goes away. Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I836df40b80b7a230a3d24f51e741ba88e6652b9c
This component attempts to be a "do everything" embedded webserver for openbmc.
At this time, the webserver implements a few interfaces:
BMCWeb is configured by setting -D
flags that correspond to options in bmcweb/CMakeLists.txt
and then compiling. For example, cmake -DBMCWEB_ENABLE_KVM=NO ...
followed by make
. The option names become C++ preprocessor symbols that control which code is compiled into the program.
When BMCWeb starts running, it reads persistent configuration data (such as UUID and session data) from a local file. If this is not usable, it generates a new configuration.
When BMCWeb SSL support is enabled and a usable certificate is not found, it will generate a self-sign a certificate before launching the server. The keys are generated by the secp384r1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.