aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl_openssl.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2015-01-17 20:00:49 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2015-01-17 20:00:49 +0000
commit1065dd4f38c81c83934ba51526471072837700ae (patch)
tree42ea01f5040065df60917daca6605318ec4f28df /lib/ssl_openssl.c
parentbc7a0d46e36a819755ca3f2b38194fb11eca0dd9 (diff)
parent6b13103dad92d505e038c268af66aeb04b7b4d87 (diff)
Merge cleanup changes. (FSF address fix, and using GLib variants of some
functions which cleans up compiler warnings.)
Diffstat (limited to 'lib/ssl_openssl.c')
-rw-r--r--lib/ssl_openssl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssl_openssl.c b/lib/ssl_openssl.c
index 3486f044..63937380 100644
--- a/lib/ssl_openssl.c
+++ b/lib/ssl_openssl.c
@@ -19,8 +19,8 @@
You should have received a copy of the GNU General Public License with
the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL;
- if not, write to the Free Software Foundation, Inc., 59 Temple Place,
- Suite 330, Boston, MA 02111-1307 USA
+ if not, write to the Free Software Foundation, Inc., 51 Franklin St.,
+ Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <openssl/crypto.h>
@@ -158,7 +158,7 @@ static gboolean ssl_connected( gpointer data, gint source, b_input_condition con
sock_make_nonblocking( conn->fd );
SSL_set_fd( conn->ssl, conn->fd );
- if( conn->hostname && !isdigit( conn->hostname[0] ) )
+ if( conn->hostname && !g_ascii_isdigit( conn->hostname[0] ) )
SSL_set_tlsext_host_name( conn->ssl, conn->hostname );
return ssl_handshake( data, source, cond );