<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 1:</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 1:</p><p style="white-space: pre-wrap; word-wrap: break-word;">Yes, you can flip a coin because both approaches to this have their reasons. With your approach, not AST_MODULE_INFO (runtime) but MODULEINFO (compile time) has to be changed from optional to required. I went for my approach because it is no functional change between Asterisk 13 LTS and Asterisk 16 LTS. With your approach, I have to change Asterisk 13 LTS as well. Again, both approaches have their reason. Somebody has to decide.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">I would vote for fixing the MODULEINFO in all versions to ensure func_aes won't build without res_crypto.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I think we should also check for an error result from all calls to res_crypto functions, return an error from the dialplan functions if appropriate. This would be especially useful in Asterisk 13 which cannot prevent func_aes from inappropriately loading but even for 16+ if the actual openssl functions return an error we should ensure the dialplan functions give an error.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">Agreed!</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14010">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14010">change 14010</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/14010"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 17 </div>
<div style="display:none"> Gerrit-Change-Id: I0b99b8468cbeb3b0eab23069cbd64062ef885ffc </div>
<div style="display:none"> Gerrit-Change-Number: 14010 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-CC: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-CC: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 25 Mar 2020 15:04:59 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>