diff options
author | Tianling Shen <cnsztl@immortalwrt.org> | 2023-06-01 15:22:26 +0800 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2023-06-08 15:33:14 +0200 |
commit | a48d0bdb77eb93f7fba6e055dace125c72755b6a (patch) | |
tree | 4764e0b35ca3b99f915a70352111b5ad25ce129f /target/linux/ramips | |
parent | b99b89da52df3cdc052d24bce8b863f747a43bab (diff) | |
download | upstream-a48d0bdb77eb93f7fba6e055dace125c72755b6a.tar.gz upstream-a48d0bdb77eb93f7fba6e055dace125c72755b6a.tar.bz2 upstream-a48d0bdb77eb93f7fba6e055dace125c72755b6a.zip |
openssl: fix uci config for built-in engines
Built-in engine configs are added in libopenssl-conf/install stage
already, postinst/add_engine_config is just duplicating them, and
due to the lack of `config` header it results a broken uci config:
> uci: Parse error (invalid command) at line 3, byte 0
```
config engine 'devcrypto'
option enabled '1'
engine 'devcrypto'
option enabled '1'
option builtin '1'
```
Add `builtin` option in libopenssl-conf/install stage and remove
duplicate engine configuration in postinst/add_engine_config to
fix this issue.
Fixes: 0b70d55a64c39d ("openssl: make UCI config aware of built-in engines")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit a0d71934253f599f4ac651b1b3a429901049e802)
Diffstat (limited to 'target/linux/ramips')
0 files changed, 0 insertions, 0 deletions