ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/vendor-crypto/openssh/dist/misc.c
(Generate patch)

Comparing vendor-crypto/openssh/dist/misc.c (file contents):
Revision 6862 by laffer1, Thu Dec 5 12:55:03 2013 UTC vs.
Revision 6863 by laffer1, Sat Oct 11 16:33:18 2014 UTC

# Line 1 | Line 1
1 < /* $OpenBSD: misc.c,v 1.91 2013/07/12 00:43:50 djm Exp $ */
1 > /* $OpenBSD: misc.c,v 1.92 2013/10/14 23:28:23 djm Exp $ */
2   /*
3   * Copyright (c) 2000 Markus Friedl.  All rights reserved.
4   * Copyright (c) 2005,2006 Damien Miller.  All rights reserved.
# Line 43 | Line 43
43   #include <netinet/ip.h>
44   #include <netinet/tcp.h>
45  
46 + #include <ctype.h>
47   #include <errno.h>
48   #include <fcntl.h>
49   #include <netdb.h>
# Line 1016 | Line 1017 | iptos2str(int iptos)
1017          }
1018          snprintf(iptos_str, sizeof iptos_str, "0x%02x", iptos);
1019          return iptos_str;
1020 + }
1021 +
1022 + void
1023 + lowercase(char *s)
1024 + {
1025 +        for (; *s; s++)
1026 +                *s = tolower((u_char)*s);
1027   }
1028   void
1029   sock_set_v6only(int s)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines