immortalwrt/package/libs/openssl
Tianling Shen c16c7c7b41
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.

Also add `exit 0` to postinst to silent (potential) pointless error.

Fixes: 0b70d55a64 ("openssl: make UCI config aware of built-in engines")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit b4192342f1)
2023-06-01 18:45:09 +08:00
..
files openssl: add legacy provider 2023-04-05 08:24:49 -03:00
patches openssl: fix low-severity CVE-2023-1255 2023-04-29 12:33:44 +02:00
Config.in Merge Official Source 2023-04-06 18:48:00 +08:00
Makefile openssl: fix uci config for built-in engines 2023-06-01 18:45:09 +08:00