Commit Graph

18566 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
33fbff8880 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 14:23:33 +00:00
Love Hörnquist Åstrand
5518871b9c Make build again from the hdb_entry wrapping. Patch from Andreas Hasenack.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 14:23:13 +00:00
Love Hörnquist Åstrand
97ff96b02d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 12:08:07 +00:00
Love Hörnquist Åstrand
1d8f59cfa1 sprinkle more error strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 12:00:08 +00:00
Love Hörnquist Åstrand
da9641ef4f split return values.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 11:48:01 +00:00
Love Hörnquist Åstrand
a8fd77a69a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 09:28:15 +00:00
Love Hörnquist Åstrand
4ccac57389 (hdb_lock): also ignore EAGAIN as a locking retry error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 09:27:38 +00:00
Love Hörnquist Åstrand
997dc9aebb Allow selection of minium bits from the DH parameters.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 04:00:35 +00:00
Love Hörnquist Åstrand
444753045a use unsigned int as counter to fit better with the asn1 compiler
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 03:59:34 +00:00
Love Hörnquist Åstrand
5b304e5f20 Need better code in the DH parameter rejection case, add comment to
that effect.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19165 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 03:41:55 +00:00
Love Hörnquist Åstrand
ab26720928 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 14:18:12 +00:00
Love Hörnquist Åstrand
772ed07a25 Reply KRB5KRB_ERR_RESPONSE_TOO_BIG for too large packets when using
datagram based transports.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19163 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 14:17:58 +00:00
Love Hörnquist Åstrand
6ff3e7477d Pass down datagram_reply to _kdc_tgs_rep.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 14:16:09 +00:00
Love Hörnquist Åstrand
bbe5ce33dc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 14:12:08 +00:00
Love Hörnquist Åstrand
2cac1cbf59 Remove trailing white space.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 14:12:01 +00:00
Love Hörnquist Åstrand
d51986d91e rewrite comment to make more sense
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 14:11:03 +00:00
Love Hörnquist Åstrand
2f4615fcd2 (build_auth_pack): set supportedCMSTypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 13:46:04 +00:00
Love Hörnquist Åstrand
18b698ae86 (hx509_crypto_select): check sig_algs[j]->key_oid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 13:29:19 +00:00
Love Hörnquist Åstrand
99f80461cd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 12:57:21 +00:00
Love Hörnquist Åstrand
9aa88cd51c test crypto-select and crypto-available
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 12:20:41 +00:00
Love Hörnquist Åstrand
4fd7cabf44 (crypto-available): add --type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 12:15:00 +00:00
Love Hörnquist Åstrand
cbcc5adfc3 (hx509_crypto_available): let alg pass if its keyless
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 12:14:07 +00:00
Love Hörnquist Åstrand
bf35f1a1bc Expand crypto-select
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 12:10:22 +00:00
Love Hörnquist Åstrand
c0736245fe test crypto-select and crypto-available
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 12:09:38 +00:00
Love Hörnquist Åstrand
d2857fa912 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 11:41:03 +00:00
Love Hörnquist Åstrand
28229b426f Return -1 for failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 11:24:33 +00:00
Love Hörnquist Åstrand
96df083d5d Its ok with smaller signatures.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 11:12:11 +00:00
Love Hörnquist Åstrand
20cc953703 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:46:59 +00:00
Love Hörnquist Åstrand
9b5b13dc57 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:43:28 +00:00
Love Hörnquist Åstrand
2022239dd6 Spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:43:15 +00:00
Love Hörnquist Åstrand
03ef18c610 add HX509_SELECT_ALL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:42:48 +00:00
Love Hörnquist Åstrand
7a7081cede Rename hx509_select to hx509_crypto_select.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:42:18 +00:00
Love Hörnquist Åstrand
d608f33861 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:40:29 +00:00
Love Hörnquist Åstrand
e0a99a740d Add crypto-select and crypto-available.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:40:06 +00:00
Love Hörnquist Åstrand
ca894d0b27 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:36:17 +00:00
Love Hörnquist Åstrand
93f60d5dae (hx509_crypto_available): use right index.
(hx509_crypto_free_algs): new function


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:36:04 +00:00
Love Hörnquist Åstrand
998db7a76f (der_print_heim_oid): oid with zero length is invalid, fail to print.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:32:21 +00:00
Love Hörnquist Åstrand
8fea309b05 (hx509_crypto_select): improve
(hx509_crypto_available): new function


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:16:05 +00:00
Love Hörnquist Åstrand
efaed32112 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:06:06 +00:00
Love Hörnquist Åstrand
81798cfcd3 Split error codes for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:04:30 +00:00
Love Hörnquist Åstrand
0a531062bd print return value for RSA_private_decrypt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 08:30:53 +00:00
Love Hörnquist Åstrand
976ac69254 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 18:10:16 +00:00
Love Hörnquist Åstrand
0e4b620131 Pass down hx509_peer_info.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 18:09:59 +00:00
Love Hörnquist Åstrand
ca9c6c2b3d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 17:54:36 +00:00
Love Hörnquist Åstrand
35dda6b1b9 Sprinkle more error string and hx509_contexts.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 17:54:18 +00:00
Love Hörnquist Åstrand
cfb2185a48 Sprinkle more error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 17:53:57 +00:00
Love Hörnquist Åstrand
e37704f850 Sprinkle error string and hx509_contexts.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 17:53:25 +00:00
Love Hörnquist Åstrand
95730a19d6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 16:57:38 +00:00
Love Hörnquist Åstrand
15d0393660 Add some more comments about how this works.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 16:56:54 +00:00
Love Hörnquist Åstrand
480aff7f9b (_kdc_pk_rd_padata): Pick up supportedCMSTypes and pass in into
hx509_cms_create_signed_1 via hx509_peer_info blob.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 16:38:51 +00:00