Nicolas Williams
060b831c4d
ktutil: Fix a warning
2022-01-14 17:59:49 -06:00
Nicolas Williams
c7feeab7eb
kswitch: Fix warning
2022-01-14 17:59:49 -06:00
Nicolas Williams
ef9bb8850e
kgetcred: Fix warning
2022-01-14 17:59:49 -06:00
Nicolas Williams
cf2bab411d
kdc: Fix warnings
2022-01-14 17:59:49 -06:00
Nicolas Williams
5a3706db5b
httpkadmind: Fix warnings
2022-01-14 17:59:49 -06:00
Nicolas Williams
5dcad4635b
bx509d: Fix warnings
2022-01-14 17:59:49 -06:00
Nicolas Williams
23190a3f5e
hpropd: Fix warning
2022-01-14 17:54:55 -06:00
Nicolas Williams
3c1c48c68f
kstash: Fix warning
2022-01-14 17:54:55 -06:00
Nicolas Williams
c4e962ea04
kafs: Fix a warning
2022-01-14 17:54:55 -06:00
Nicolas Williams
55fa5bf7d2
gsskrb5: Fix warnings
2022-01-14 17:39:05 -06:00
Nicolas Williams
96b7ea671d
gss: Fix warnings
2022-01-14 17:39:05 -06:00
Nicolas Williams
65caff79a3
gss-token: Fix leak
2022-01-14 17:39:05 -06:00
Nicolas Williams
4f8399a433
hdb: Fix warnings and leaks
2022-01-14 17:10:16 -06:00
Nicolas Williams
fb553dde1d
krb5: Fix warnings
2022-01-14 17:10:16 -06:00
Nicolas Williams
82a8744787
krb5: Fix SQLite3 ccache bugs/warnings
2022-01-14 17:10:16 -06:00
Nicolas Williams
cb751670dd
kpasswdd: Fix warning
2022-01-14 17:10:16 -06:00
Nicolas Williams
aea18c3006
Use fallthrough statement attribute (moar)
...
GCC is very finicky.
2022-01-14 16:58:59 -06:00
Nicolas Williams
c607135a03
Use fallthrough statement attribute (moar)
2022-01-14 16:53:34 -06:00
Nicolas Williams
ddc6113610
Use fallthrough statement attribute
2022-01-14 16:32:58 -06:00
Nicolas Williams
367f9ddd7d
kadm5: Revert part of 69eee19541
2022-01-14 15:41:32 -06:00
Nicolas Williams
489da75e65
tommath: Fix warning in s_read_getrandom()
...
See https://github.com/libtom/libtommath/pull/512
(Note: this has not shipped. Only OS X would be affected, specifically
RSA key gen would be affected on OS X.)
2022-01-14 15:26:59 -06:00
Nicolas Williams
318b73f002
krb5: Drop duplicated krb5.conf.5 content
2022-01-14 14:59:02 -06:00
Nicolas Williams
b7bf5ca6e8
kadmin: Fix warnings
2022-01-14 14:59:02 -06:00
Nicolas Williams
69eee19541
kadm5: Fix warnings
2022-01-14 14:58:59 -06:00
Nicolas Williams
6be334bfee
kcm: Fix warnings
2022-01-14 14:47:13 -06:00
Nicolas Williams
6f467b8097
wind: Fix some warnings
2022-01-14 14:47:13 -06:00
Nicolas Williams
005a43da96
gsspa: Quiet GCC fallthrough warning
...
Somehow GCC was honoring lower-case "fallthrough" comments elsewhere but
not here. Anyways, there was no need to fall through, so now we don't.
2022-01-14 14:47:13 -06:00
Jeffrey Altman
6426e7550f
roken: do not globally define 'timezone' and 'tzname'
...
ec866e635e
("Windows 10 SDK build fixes") introduced CPP macros
timezone -> _timezone
tzname -> _tzname
but these names are common and the macros rewrite too much.
The name mapping is only required when building strftime.c
with Visual Studio 2017 and later. Move the definitions
into strftime.c.
Change-Id: Ic813bff842124595fd3d86761cee6dcea4ae44e4
2022-01-14 14:56:39 -05:00
Nicolas Williams
66d6998e3e
GitHub: Complete split of build.yml
2022-01-14 13:52:50 -06:00
Nicolas Williams
02f6147bf1
GitHub: Prep to split build.yml
2022-01-14 13:51:26 -06:00
Nicolas Williams
64301260a5
GitHub: Fix paths that cause builds
...
We should split build.yml into separate workflows for each OS, that way
we can have Windows builds triggered by changes to NTMakefiles, but not
Linux builds.
2022-01-14 13:40:50 -06:00
Nicolas Williams
05e8c0ede6
Check HMAC_Init_ex() return value
2022-01-14 12:48:32 -06:00
Nicolas Williams
52f3dc6aa4
hcrypto: HMAC_Init_Ex(): return int like OpenSSL
2022-01-14 12:48:32 -06:00
Nicolas Williams
77392d5d9c
hcrypto: Fix warnings
2022-01-14 12:48:32 -06:00
Nicolas Williams
ea61f68d55
hx509: Fix name expansion bug
2022-01-14 12:44:00 -06:00
Nicolas Williams
e23bc7d53d
hx509: Fix warnings and leaks
2022-01-14 12:42:52 -06:00
Nicolas Williams
d88298649b
asn1: Fix ENOMEM NULL deref
2022-01-14 12:36:34 -06:00
Nicolas Williams
f0c46e7830
asn1: Use calloc() in generated C code
2022-01-14 12:25:43 -06:00
Nicolas Williams
1fe3d293e1
asn1: Fix warnings
2022-01-14 12:25:43 -06:00
Nicolas Williams
80dceccdd6
GitHub CI: Fix build.yml?
...
We need a validator for this. GitHub Actions tells us nothing about
what might be wrong with our build.yml!
2022-01-14 12:25:00 -06:00
Nicolas Williams
7f8fa65c5b
asn1: Fix leak in der_copy_octet_string()
...
This manifested as a leak via _save fields in the template backend.
2022-01-14 12:01:34 -06:00
Nicolas Williams
a7e11df142
sl: Fix warnings in lib/sl/sl.c
2022-01-14 12:01:33 -06:00
Nicolas Williams
ed0fd1263a
base: Fix warnings
2022-01-14 12:01:33 -06:00
Nicolas Williams
69b3c5368c
base: Context should optional in more error funcs
2022-01-14 12:01:33 -06:00
Nicolas Williams
94bb267a8b
roken: Delete getcap/cgetent/cgetstr()
2022-01-14 12:01:33 -06:00
Nicolas Williams
a90e1cb65c
roken: Fix warnings
2022-01-14 12:01:33 -06:00
Jeffrey Altman
3a7c2c6a7f
krb5.h: define DOMAIN_X500_COMPRESS macro
...
db7763ca7b
("asn1: X.681/682/683 magic handling of open types")
renamed 'DOMAIN_X500_COMPRESS' to 'domain_X500_Compress'
for compliance with ASN.1 which requires values to start with
lower case and types to start with upper case.
This change adds a CPP macro DOMAIN_X500_COMPRESS for use by
third-party applications that rely upon the prior name.
Change-Id: I2eb6fec2c795c8adeeef893b00909a202257ad74
2022-01-14 12:46:08 -05:00
Jeffrey Altman
05781f22ab
roken: fix net_write if _WIN32 and !SOCKET_IS_NOT_AN_FD
...
12826c9586
("Handle partial writes on non-blocking sockets") introduced
unconditional use of 'use_write' which is only declared if
defined(SOCKET_IS_NOT_AN_FD).
Change-Id: I0c43ed44a86b4f245acba849afabeb9ce739d0e5
2022-01-14 12:35:50 -05:00
Jeffrey Altman
4caaa7ca0b
include: bits conditionalize behavior on HAVE_SNPRINTF
...
ee2a92c547
("bits: Fix warnings")
introduced unconditional use of snprintf(). Use of snprintf in
most of the tree is acceptable whenever roken is available because
roken provides snprintf() for platforms that do not provide it.
However, bits.c cannot use roken and therefore must not
unconditionally call snprintf().
This change restores the prior implementation of BITSIZE(TYPE)
when HAVE_SNPRINTF is undefined.
Change-Id: Ibbd2f003abe9f9fb612719266544cfd545809a18
2022-01-14 12:17:39 -05:00
Nicolas Williams
9f2027f216
CI: Add OS X build
2022-01-13 19:56:12 -06:00