pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/hitch Fix ctype use.
details: https://anonhg.NetBSD.org/pkgsrc/rev/3960d576b8ad
branches: trunk
changeset: 364666:3960d576b8ad
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Jul 03 13:03:02 2017 +0000
description:
Fix ctype use.
diffstat:
security/hitch/distinfo | 4 ++--
security/hitch/patches/patch-src_configuration.c | 11 ++++++++++-
2 files changed, 12 insertions(+), 3 deletions(-)
diffs (36 lines):
diff -r 158df2790faa -r 3960d576b8ad security/hitch/distinfo
--- a/security/hitch/distinfo Mon Jul 03 13:02:38 2017 +0000
+++ b/security/hitch/distinfo Mon Jul 03 13:03:02 2017 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2017/06/14 13:28:57 fhajny Exp $
+$NetBSD: distinfo,v 1.7 2017/07/03 13:03:02 joerg Exp $
SHA1 (hitch-1.4.6.tar.gz) = 4dbf533706129bfd7a45f6dff020e2ba281a4abc
RMD160 (hitch-1.4.6.tar.gz) = eb576b1b878d7184c3dc143c8b4d954e52ec03c3
SHA512 (hitch-1.4.6.tar.gz) = e1dbbbeda4cfcd2d8afeba94f48bc7094e767aa9d18c778cee994c9bf5508cd503a99dc23cbe327df0e042e86d57d8d60f36143f9c1545f2f98ba5b9d6511842
Size (hitch-1.4.6.tar.gz) = 308210 bytes
SHA1 (patch-hitch.conf.example) = 1c922c2e294362ef009ff60bfe43f746de596087
-SHA1 (patch-src_configuration.c) = ba89c7c987159f66b1694435613aa89a6f9574de
+SHA1 (patch-src_configuration.c) = 030ba883e99b1ce0ab13d54952dd53a94ff16cbd
diff -r 158df2790faa -r 3960d576b8ad security/hitch/patches/patch-src_configuration.c
--- a/security/hitch/patches/patch-src_configuration.c Mon Jul 03 13:02:38 2017 +0000
+++ b/security/hitch/patches/patch-src_configuration.c Mon Jul 03 13:03:02 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_configuration.c,v 1.1 2017/01/09 13:02:20 fhajny Exp $
+$NetBSD: patch-src_configuration.c,v 1.2 2017/07/03 13:03:02 joerg Exp $
Sane default options.
@@ -13,3 +13,12 @@
r->OCSP_VFY = 0;
r->OCSP_RESP_TMO = 10.0;
r->OCSP_CONN_TMO = 4.0;
+@@ -1116,7 +1116,7 @@ create_alpn_callback_data(hitch_config *
+
+ // first remove spaces while copying to cfg->ALPN_PROTOS_LV
+ for(j = 0; j < l; j++)
+- if (!isspace(cfg->ALPN_PROTOS[j])) {
++ if (!isspace((unsigned char)cfg->ALPN_PROTOS[j])) {
+ cfg->ALPN_PROTOS_LV[i] = cfg->ALPN_PROTOS[j];
+ i++;
+ }
Home |
Main Index |
Thread Index |
Old Index