Changes in lib/ssl_gnutls.c [286cd48:6b13103]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ssl_gnutls.c
r286cd48 r6b13103 20 20 You should have received a copy of the GNU General Public License with 21 21 the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; 22 if not, write to the Free Software Foundation, Inc., 5 9 Temple Place,23 Suite 330, Boston, MA 02111-1307USA22 if not, write to the Free Software Foundation, Inc., 51 Franklin St., 23 Fifth Floor, Boston, MA 02110-1301 USA 24 24 */ 25 25 … … 318 318 gnutls_set_default_priority( conn->session ); 319 319 gnutls_credentials_set( conn->session, GNUTLS_CRD_CERTIFICATE, xcred ); 320 if( conn->hostname && ! isdigit( conn->hostname[0] ) )320 if( conn->hostname && !g_ascii_isdigit( conn->hostname[0] ) ) 321 321 gnutls_server_name_set( conn->session, GNUTLS_NAME_DNS, 322 322 conn->hostname, strlen( conn->hostname ) );
Note: See TracChangeset
for help on using the changeset viewer.