<p>Sean Bright has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/8906">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pjsip: Increase maximum number of ciphers to PJ_SSL_SOCK_MAX_CIPHERS (256)<br><br>Re: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897412<br><br>Reported by: Tzafrir Cohen<br><br>Change-Id: Iea620f03915a1b873e79743154255c3148a514e7<br>---<br>M res/res_pjsip/config_transport.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/06/8906/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/res/res_pjsip/config_transport.c b/res/res_pjsip/config_transport.c<br>index 959fb19..478f242 100644<br>--- a/res/res_pjsip/config_transport.c<br>+++ b/res/res_pjsip/config_transport.c<br>@@ -976,7 +976,7 @@<br> /*! \brief Helper function which turns a cipher name into an identifier */<br> static pj_ssl_cipher cipher_name_to_id(const char *name)<br> {<br>-  pj_ssl_cipher ciphers[100];<br>+  pj_ssl_cipher ciphers[PJ_SSL_SOCK_MAX_CIPHERS];<br>       pj_ssl_cipher id = 0;<br>         unsigned int cipher_num = PJ_ARRAY_SIZE(ciphers);<br>     int pos;<br>@@ -1105,7 +1105,7 @@<br> <br> static char *handle_pjsip_list_ciphers(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)<br> {<br>-    pj_ssl_cipher ciphers[100];<br>+  pj_ssl_cipher ciphers[PJ_SSL_SOCK_MAX_CIPHERS];<br>       unsigned int cipher_num = PJ_ARRAY_SIZE(ciphers);<br>     char *buf;<br> <br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8906">change 8906</a>. To unsubscribe, 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/8906"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Iea620f03915a1b873e79743154255c3148a514e7 </div>
<div style="display:none"> Gerrit-Change-Number: 8906 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>