Love Hörnquist Åstrand
4e79ae875a
(decode_type): drop unused variable realtype.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-24 09:13:12 +00:00
Love Hörnquist Åstrand
e44de8b05e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 15:49:20 +00:00
Love Hörnquist Åstrand
c7577f523b
(read_string): Try to not call signaction for signal 0 and use NSIG if
...
it exists to determin how many signals there exists, also, only
restore those signalhandlers that we got out.
Bug reported by and patch tested by Harald Barth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 15:45:57 +00:00
Love Hörnquist Åstrand
294b75a0d6
Add GSS_C flags from draft-brezak-win2k-krb-rc4-hmac-04.txt.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 14:58:47 +00:00
Love Hörnquist Åstrand
ac365a5552
Free service_keyblock and fwd_data, indent.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 14:57:22 +00:00
Love Hörnquist Åstrand
057d0232fe
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 14:53:11 +00:00
Love Hörnquist Åstrand
7d573742a1
Merge of the acceptor part from the samba patch by Stefan Metzmacher
...
and Andrew Bartlet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 14:52:11 +00:00
Love Hörnquist Åstrand
d6d6a0ae4b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 11:22:23 +00:00
Love Hörnquist Åstrand
67655a5dd5
Add GSS_C_DCE_STYLE.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 11:22:14 +00:00
Love Hörnquist Åstrand
9bc15736ff
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 10:42:16 +00:00
Love Hörnquist Åstrand
226ba0b6cd
merge most of the initiator part from the samba patch by Stefan Metzmacher and Andrew Bartlet (still missing DCE/RPC support)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 10:41:31 +00:00
Love Hörnquist Åstrand
aea29bec78
Add previous ETypeList code again, it was a halfbuilt context that
...
broke the code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 09:00:36 +00:00
Love Hörnquist Åstrand
7c180646d3
disable ETypeList parsing usage for now, cfx seems broken and its not
...
good to upgrade to a broken enctype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 07:44:32 +00:00
Love Hörnquist Åstrand
b98c29b898
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 14:09:10 +00:00
Love Hörnquist Åstrand
a8a340457c
starfield test root cert and Ralf-Philipp and Andreis correctly padded bad cert
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 14:02:43 +00:00
Love Hörnquist Åstrand
516245576b
Bleichenbacher bad cert from Ralf-Philipp Weinmann and Andrew Pyshkin, pad right.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 14:01:45 +00:00
Love Hörnquist Åstrand
961332d213
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-16 17:33:53 +00:00
Love Hörnquist Åstrand
de2de1213c
Add samba socket wrapper fragment.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-16 17:33:07 +00:00
Love Hörnquist Åstrand
64bcdf0b5d
Fixes from Björn Sandell.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-16 09:27:28 +00:00
Love Hörnquist Åstrand
364e63f12a
Add commeted out test that exponent is > 3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 14:09:28 +00:00
Love Hörnquist Åstrand
1b8fc81fde
yutaka test certs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 06:07:55 +00:00
Love Hörnquist Åstrand
8f46285916
Add test for yutaka certs.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18088 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 06:00:11 +00:00
Love Hörnquist Åstrand
6168bc80da
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 05:59:46 +00:00
Love Hörnquist Åstrand
41e00c0c70
Add a strict rfc3280 verification flag. rfc3280 requires certificates
...
to have KeyUsage.keyCertSign if they are to be used for signing of
certificates, but the step in the verifiation is optional.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 05:59:35 +00:00
Love Hörnquist Åstrand
697eae9c9d
Improve printing and error reporting.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 05:50:17 +00:00
Love Hörnquist Åstrand
d6ac5d5275
test bleichenbacher from eay
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 22:04:42 +00:00
Love Hörnquist Åstrand
24ff7295c8
Make common function for all getarg_strings and hx509_certs_append
...
commonly used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18083 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 20:08:42 +00:00
Love Hörnquist Åstrand
62d57dc40e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 19:52:00 +00:00
Love Hörnquist Åstrand
34ce1baf38
HX509_CMS_UE_DONT_REQUIRE_KU_ENCIPHERMENT is a negative flag, treat it
...
was such.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18081 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 19:22:53 +00:00
Love Hörnquist Åstrand
ee9b01aa50
By using full function calling conversion (*func) we avoid problem
...
when close(fd) is overridden using a macro.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 18:12:37 +00:00
Love Hörnquist Åstrand
1eaf2446ed
Make compile again.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 17:35:33 +00:00
Love Hörnquist Åstrand
44c73244c3
By using full function calling conversion (*func) we avoid problem
...
when close(fd) is overridden using a macro.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-12 17:32:10 +00:00
Love Hörnquist Åstrand
d2e95a2867
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18073 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 13:38:29 +00:00
Love Hörnquist Åstrand
3993e250af
Add KRB5SignedPath and friends.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18072 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 13:38:20 +00:00
Love Hörnquist Åstrand
8d6e197003
Add keyusage for KRB5SignedPath.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 13:32:57 +00:00
Love Hörnquist Åstrand
c2a3bce503
Add KRB5SignedPath and friends.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18070 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 13:28:59 +00:00
Love Hörnquist Åstrand
c9f98b46b1
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 07:09:00 +00:00
Love Hörnquist Åstrand
7c40efd741
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:43:11 +00:00
Love Hörnquist Åstrand
a688982129
Use the new add_GeneralNames function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:43:00 +00:00
Love Hörnquist Åstrand
a368903335
Add new sequence generation for GeneralNames.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:40:54 +00:00
Love Hörnquist Åstrand
b226d0acf5
Adapt to new signature of hx509_cms_unenvelope.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:38:36 +00:00
Love Hörnquist Åstrand
15a66286ab
Add HX509_CMS_UE_DONT_REQUIRE_KU_ENCIPHERMENT.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:35:53 +00:00
Love Hörnquist Åstrand
9358faef60
Allow passing in encryptedContent and flag.
...
Add new flag HX509_CMS_UE_DONT_REQUIRE_KU_ENCIPHERMENT.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-11 06:31:34 +00:00
Love Hörnquist Åstrand
0fbe98fc9c
(pk_verify_host): set errorstrings in a sensable way
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-09 13:39:24 +00:00
Love Hörnquist Åstrand
5675de7426
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18060 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-08 09:54:12 +00:00
Love Hörnquist Åstrand
dd04abbea7
cast void * to char * when using it for %s formating in printf.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-08 09:54:01 +00:00
Love Hörnquist Åstrand
2acf7df729
New function _hx509_Name_to_string.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-08 09:52:39 +00:00
Love Hörnquist Åstrand
d23cf3f57d
Prevent a font generation warning, from Jason McIntyre.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18056 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 22:01:43 +00:00
Love Hörnquist Åstrand
0e9f9c8b5f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 12:20:54 +00:00
Love Hörnquist Åstrand
6914282b1d
(CMSVersion): rename versions from v0 to CMSVersion_v0, ...
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18054 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-07 12:20:42 +00:00