<p>Max has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11720">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Automatically disable GnuTLS fallback<br><br>Disable GnuTLS fallback if sufficient glibc version detected. Previously<br>GnuTLS fallback was used regardless of getrandom() availability in<br>glibc. Fix this by automatically disabling it when not needed. This does<br>not affect the ability to manually disable it unconditionally.<br><br>Change-Id: Ibe2117afc050261668a4d5a590044aabcd08aefe<br>---<br>M src/gsm/gsm_utils.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/20/11720/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gsm/gsm_utils.c b/src/gsm/gsm_utils.c</span><br><span>index be35cd4..7e1f487 100644</span><br><span>--- a/src/gsm/gsm_utils.c</span><br><span>+++ b/src/gsm/gsm_utils.c</span><br><span>@@ -102,6 +102,7 @@</span><br><span> /* FIXME: this can be removed once we bump glibc requirements to 2.25:*/</span><br><span> #if __GNUC_PREREQ (2,25)</span><br><span> #include <sys/random.h></span><br><span style="color: hsl(120, 100%, 40%);">+#undef USE_GNUTLS</span><br><span> #elif HAVE_DECL_SYS_GETRANDOM</span><br><span> #include <sys/syscall.h></span><br><span> #ifndef GRND_NONBLOCK</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11720">change 11720</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.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.osmocom.org/11720"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ibe2117afc050261668a4d5a590044aabcd08aefe </div>
<div style="display:none"> Gerrit-Change-Number: 11720 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>