7b9a83d1a0
sync with netbsd current
Love Hörnquist Åstrand
2008-08-26 14:52:53 +00:00
a7ca391dc9
add missing depency on libhcrypto (needed when using openssl in on default location. From Andrew Morris
Love Hörnquist Åstrand
2008-08-26 12:35:21 +00:00
6562b287fb
Always set output_cred_handle to GSS_C_NO_CREDENTIAL in the begining.
Love Hörnquist Åstrand
2008-08-26 12:35:12 +00:00
34ed1a507f
update (c)
Love Hörnquist Åstrand
2008-08-26 12:35:02 +00:00
b33f72ddc2
spelling
Love Hörnquist Åstrand
2008-08-26 12:34:50 +00:00
b43a607fb7
fail on error
Love Hörnquist Åstrand
2008-08-26 12:34:37 +00:00
17d8a114ea
test aliases
Love Hörnquist Åstrand
2008-08-25 11:12:06 +00:00
58227c2f5f
negative flags defaults to on
Love Hörnquist Åstrand
2008-08-25 11:11:58 +00:00
9b79cebe84
add --no-delete flags
Love Hörnquist Åstrand
2008-08-25 11:11:49 +00:00
cf5743dd42
add --no-delete flags
Love Hörnquist Åstrand
2008-08-25 11:11:43 +00:00
810f4208da
pass down HDB_F_CANON to hdb_fetch for tgs req too, use the server name in the request.
Love Hörnquist Åstrand
2008-08-25 11:11:34 +00:00
d4c13b3b3b
x
Love Hörnquist Åstrand
2008-08-25 11:11:24 +00:00
227aca963e
Avoid dns canonlisation for hosts, until we know what client credential we are going to use, and when we know that, lets check if the user really want to use canonlision, XXX should be able to configure per target realm too
Love Hörnquist Åstrand
2008-08-25 02:34:24 +00:00
ab4ce491b0
test use referrals
Love Hörnquist Åstrand
2008-08-25 02:34:11 +00:00
5ec36048aa
allow setting referrals flag
Love Hörnquist Åstrand
2008-08-25 02:33:55 +00:00
1bf4289d86
Check return value of gethostname() and truncate string.
Love Hörnquist Åstrand
2008-08-25 02:33:28 +00:00
3a00ceaf3d
krb5_sname_to_principal gets the hostname if we tell is host = NULL.
Love Hörnquist Åstrand
2008-08-25 02:33:08 +00:00
1106480143
output buffer always set
Love Hörnquist Åstrand
2008-08-25 02:32:55 +00:00
59171e8164
minor status must be set.
Love Hörnquist Åstrand
2008-08-25 02:32:43 +00:00
d1c07ab2a1
catch return value
Love Hörnquist Åstrand
2008-08-25 02:32:30 +00:00
85028c43c9
deprecate keytype functions, catch return value
Love Hörnquist Åstrand
2008-08-25 02:32:16 +00:00
4d1a05fb4b
Drop this keytype code, there is only enctypes
Love Hörnquist Åstrand
2008-08-25 02:32:03 +00:00
5927c039fb
reset outdata
Love Hörnquist Åstrand
2008-08-25 02:31:51 +00:00
520edeaf90
reset outdata
Love Hörnquist Åstrand
2008-08-25 02:31:38 +00:00
46158df0d7
use the right database to get the error from.
Love Hörnquist Åstrand
2008-08-25 02:31:28 +00:00
192506f0c2
Use explit result for counters
Love Hörnquist Åstrand
2008-08-25 02:31:16 +00:00
cf6451436b
check return value
Love Hörnquist Åstrand
2008-08-25 02:31:04 +00:00
ab3d0e36c0
drop never used variable
Love Hörnquist Åstrand
2008-08-25 02:30:50 +00:00
6ff91f7f31
check return value
Love Hörnquist Åstrand
2008-08-25 02:30:36 +00:00
db63919ed3
remove dead store
Love Hörnquist Åstrand
2008-08-25 02:30:26 +00:00
2e4f85e4fb
don't need to store the last col =
Love Hörnquist Åstrand
2008-08-25 02:30:17 +00:00
cf152f04f1
Don't use the side effect of ++var, just use the result
Love Hörnquist Åstrand
2008-08-25 02:30:04 +00:00
c5b7d0e858
remove dead store
Love Hörnquist Åstrand
2008-08-25 02:29:51 +00:00
300642ca29
new functions.
Love Hörnquist Åstrand
2008-08-22 21:18:29 +00:00
da29ca9744
define HC_DEPRECATED_CRYPTO
Love Hörnquist Åstrand
2008-08-21 22:10:09 +00:00
27e06ef268
Pick out header and trailer first before treating data and sign_only data.
Love Hörnquist Åstrand
2008-08-21 21:25:53 +00:00
0f18ec866a
fix iov useage, check length and padding buffer
Love Hörnquist Åstrand
2008-08-21 21:25:35 +00:00
5ad47f2f66
* XXX CTS EVP is broken, can't handle multi buffers :(
Love Hörnquist Åstrand
2008-08-21 21:25:27 +00:00
fd4fa6e543
remove krb5_encrypt_ivec_new now that we have new sample code
Love Hörnquist Åstrand
2008-08-21 21:25:14 +00:00
8ef17f5306
test encryption and decryption.
Love Hörnquist Åstrand
2008-08-21 21:25:00 +00:00
72157cd54f
drop len from krb5_crypto_length()
Love Hörnquist Åstrand
2008-08-21 21:24:52 +00:00
4e73040133
drop len from krb5_crypto_length()
Love Hörnquist Åstrand
2008-08-21 21:24:38 +00:00
3653a323fb
update comments
Love Hörnquist Åstrand
2008-08-21 21:24:29 +00:00
085315cad3
krb5_{encrypt,decrypt}_iov_ivec for derived crypto.
Love Hörnquist Åstrand
2008-08-21 21:24:21 +00:00
ffa4cfde5e
test krb5_decrypt_iov_ivec
Love Hörnquist Åstrand
2008-08-21 21:24:07 +00:00
f258e5136e
Add krb5_crypto_iov
Love Hörnquist Åstrand
2008-08-21 21:23:57 +00:00
2b1fadb026
Dummy krb5_enctype_iov and friends.
Love Hörnquist Åstrand
2008-08-19 11:51:20 +00:00
68a0002ba9
clean up
Love Hörnquist Åstrand
2008-08-19 02:20:36 +00:00
58362ab151
Test EVP_CIPHER
Love Hörnquist Åstrand
2008-08-19 02:20:24 +00:00
c6f0b74fe5
Do incremental encryption.
Love Hörnquist Åstrand
2008-08-19 02:20:14 +00:00
6fe6bf3eef
allow selecting blocksize
Love Hörnquist Åstrand
2008-08-19 02:20:01 +00:00
ae6d0372d5
KRB5-AUTHDATA-SIGNTICKET is assigned 142 from Tom Yu.
Love Hörnquist Åstrand
2008-08-18 22:55:18 +00:00
eafdcccf57
KRB5-PADATA-EPAC
Love Hörnquist Åstrand
2008-08-18 22:55:08 +00:00
0ef01719fe
add krb5_enctype_enable
Love Hörnquist Åstrand
2008-08-18 20:15:41 +00:00
61fb057fe7
Try to update buf_len to catch more errors
Love Hörnquist Åstrand
2008-08-18 20:15:30 +00:00
bbc4454631
First implementation of EVP_CipherUpdate and EVP_CipherFinal_ex that only handle buffers on block bounderies.
Love Hörnquist Åstrand
2008-08-18 20:15:16 +00:00
248222b8f6
Tell what buf_len is used for.
Love Hörnquist Åstrand
2008-08-18 20:15:03 +00:00