[Asterisk-code-review] func_aes: Avoid incorrect error message on load. (asterisk[master])
Alexander Traud
asteriskteam at digium.com
Mon Mar 23 12:25:39 CDT 2020
Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/13959 )
Change subject: func_aes: Avoid incorrect error message on load.
......................................................................
func_aes: Avoid incorrect error message on load.
In case of no OpenSSL headers, the module func_aes was built but did not load.
ASTERISK-28788
Change-Id: I0b99b8468cbeb3b0eab23069cbd64062ef885ffc
---
M funcs/func_aes.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/59/13959/1
diff --git a/funcs/func_aes.c b/funcs/func_aes.c
index 6a56909..5d4e9ff 100644
--- a/funcs/func_aes.c
+++ b/funcs/func_aes.c
@@ -181,5 +181,5 @@
.support_level = AST_MODULE_SUPPORT_CORE,
.load = load_module,
.unload = unload_module,
- .requires = "res_crypto",
+ .optional_modules = "res_crypto",
);
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/13959
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I0b99b8468cbeb3b0eab23069cbd64062ef885ffc
Gerrit-Change-Number: 13959
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200323/3f4f78da/attachment.html>
More information about the asterisk-code-review
mailing list