Commit Graph

18805 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
487bcca4e2 Use strcspn to remove \n from fgets result. Prompted by change by Ray
Lai of OpenBSD via Björn Sandell.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:36:36 +00:00
Love Hörnquist Åstrand
63579afa99 Report to syslog strings that start with NUL; prevents negative index
array access. Ray Lai of OpenBSD via Björn Sandell.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:27:08 +00:00
Love Hörnquist Åstrand
768fb6de89 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 23:22:01 +00:00
Love Hörnquist Åstrand
a4990b9b3c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 21:56:34 +00:00
Love Hörnquist Åstrand
7a5f41d9a1 rsa and crypto engine test cases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 21:40:56 +00:00
Love Hörnquist Åstrand
26b0f36b4f Make faster and less verbose
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 21:40:19 +00:00
Love Hörnquist Åstrand
31bfa2d1cb test rsa key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 21:36:19 +00:00
Love Hörnquist Åstrand
c50d6599af Test rsa operations
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 21:33:05 +00:00
Love Hörnquist Åstrand
49c442c958 Fix the rsa-decrypt failed case that been hauting me for a while.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-04 21:31:30 +00:00
Love Hörnquist Åstrand
d37ea650ff Revert preious, something fishy is going on.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-02 09:14:55 +00:00
Love Hörnquist Åstrand
ded1164b42 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-02 09:00:29 +00:00
Love Hörnquist Åstrand
9dc51937ea Use mp_int_to_binary to encode bignums
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-02 08:59:59 +00:00
Love Hörnquist Åstrand
89f9b6b049 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-02 08:49:39 +00:00
Love Hörnquist Åstrand
548ec1a806 Check if header is there
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-02 08:49:16 +00:00
Love Hörnquist Åstrand
9d9e6a7778 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-30 17:23:58 +00:00
Love Hörnquist Åstrand
31c6637aca (plugin_get_hosts): be more paranoid and pass in a NULLed plugin list
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-30 17:23:08 +00:00
Love Hörnquist Åstrand
b8ee799cba (kadm_connect): clear error string before trying to print a errno,
this way we don't pick up a random failure code


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-30 17:15:37 +00:00
Love Hörnquist Åstrand
7690122914 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-30 16:55:56 +00:00
Love Hörnquist Åstrand
7192fa06e8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 19:22:44 +00:00
Love Hörnquist Åstrand
64c7c462af add more pkinit options.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 19:19:45 +00:00
Love Hörnquist Åstrand
b54d852966 add RSA_PKCS1_OAEP_PADDING
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 11:51:50 +00:00
Love Hörnquist Åstrand
538de94283 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 11:50:27 +00:00
Love Hörnquist Åstrand
247bb1c42b Store what PK-INIT type we used to know reply to expect, this avoids
overwriting the real PK-INIT error from just a failed requeat with a
Windows PK-INIT error (that always failes).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 11:47:29 +00:00
Love Hörnquist Åstrand
b2fcb6539d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 07:43:48 +00:00
Love Hörnquist Åstrand
a6a665aa9e Don't (afs) unlog using kdestroy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 07:42:39 +00:00
Love Hörnquist Åstrand
c264018278 Add LIB_pkinit to pacify AIX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 07:39:58 +00:00
Love Hörnquist Åstrand
c5b38c1237 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 07:18:54 +00:00
Love Hörnquist Åstrand
a23ef1734e Add LIB_com_err to pacify AIX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 07:18:33 +00:00
Love Hörnquist Åstrand
e13178a048 Add LIB_com_err to pacify AIX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 22:34:38 +00:00
Love Hörnquist Åstrand
eb6b4d91a0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 22:15:35 +00:00
Love Hörnquist Åstrand
66c417d257 (hx509_cms_verify_signed): specify what signature we failed to verify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 21:50:36 +00:00
Love Hörnquist Åstrand
2f0967b969 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 20:08:58 +00:00
Love Hörnquist Åstrand
7c3c9f7fa1 Depend on LIB_com_err for AIX.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 20:08:32 +00:00
Love Hörnquist Åstrand
04fecea15c Remove anther strndup that causes AIX to fall over.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 20:07:57 +00:00
Love Hörnquist Åstrand
4f855158da x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19179 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 19:48:22 +00:00
Love Hörnquist Åstrand
d6d864a446 Add explicit depenency to LIB_roken for libasn1.la, make AIX happy.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 19:44:40 +00:00
Love Hörnquist Åstrand
a67696cb13 x
x


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 17:43:27 +00:00
Love Hörnquist Åstrand
d3b2e5df80 Don't check the trust anchors expiration time since they are
transported out of band, from RFC3820.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 17:41:57 +00:00
Love Hörnquist Åstrand
404b8fe3dd revert previous patch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 14:24:27 +00:00
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