Commit Graph

25455 Commits

Author SHA1 Message Date
Love Hornquist Astrand
f2c29f2b1e use ret 0 2010-05-27 12:43:09 -05:00
Love Hornquist Astrand
44fd145d05 always use _krb5_expand_path_tokens 2010-05-27 12:31:23 -05:00
Love Hornquist Astrand
886914f8f9 always use _krb5_expand_path_tokens 2010-05-27 12:25:47 -05:00
Love Hornquist Astrand
f9481967c7 clean up 2010-05-27 12:20:36 -05:00
Love Hornquist Astrand
869b099f00 remove _w32 2010-05-27 11:56:03 -05:00
Love Hornquist Astrand
88c5f75b16 remove _w32 and support unix enviroments too 2010-05-27 11:55:20 -05:00
Love Hornquist Astrand
58022d0721 use _krb5_expand_path_tokens 2010-05-27 11:54:39 -05:00
Love Hornquist Astrand
f97ce2849d remove unused functions 2010-05-27 11:08:51 -05:00
Love Hornquist Astrand
2664543dd5 spelling 2010-05-27 10:41:39 -05:00
Love Hornquist Astrand
7f6734138e use lu and typecast to avoid warning for sizeof() between 32 and 64 bit hosts 2010-05-27 10:40:59 -05:00
Love Hornquist Astrand
83b86bf013 add fp_radix_size 2010-05-27 10:40:05 -05:00
Love Hornquist Astrand
90cb0ecae6 Windows fixes from Asanka Herath 2010-05-27 10:10:06 -05:00
Love Hornquist Astrand
585e5bb0d0 1.3.3 release 2010-05-26 16:49:00 -05:00
Love Hornquist Astrand
05e836e7c6 add data-mkey.mit.des3.be and data-mkey.mit.des3.le 2010-05-26 14:37:26 -05:00
Love Hornquist Astrand
a7e8f05c9b Check the GSS-API checksum exists before trying to use it [CVE-2010-1321]
This was introduced by checking the Kerberos 5 checksum as a
alternative to the 8003 checksum.

Thanks to MIT Kerberos and Shawn Emery for forwarding this issue
2010-05-26 11:53:31 -05:00
Love Hornquist Astrand
7ecd5b5f9d Check NULL pointer before dereference them
Found by Russ Allbery
2010-05-26 11:45:17 -05:00
Love Hornquist Astrand
e745e97c3f 4.3.5 failes 2010-05-26 11:20:21 -05:00
Asanka Herath
b252f38c4c .gitgnore Windows artifacts 2010-05-26 12:19:29 -04:00
Asanka Herath
85f6e6d670 Build Tom's fast math library on Windows 2010-05-26 12:17:30 -04:00
Asanka Herath
0d17cbefee Update Windows build environment
We are building both 32-bit and 64-bit binaries.  The output directory
is no longer called out32.  Instead it's just called 'out'.  Also
support deeper directories.
2010-05-26 12:16:19 -04:00
Love Hornquist Astrand
abcbfe08fb don't use python if (!maintainer mode and we have built files) 2010-05-26 11:03:41 -05:00
Love Hornquist Astrand
e404c9db96 indent 2010-05-26 10:45:53 -05:00
Love Hornquist Astrand
3108d93489 add and use fp_isneg 2010-05-26 10:45:15 -05:00
Love Hornquist Astrand
658d110d4a add tfm dh (and some missing files) 2010-05-26 10:27:32 -05:00
Love Hornquist Astrand
b09eac50ee clean up 2010-05-26 10:19:07 -05:00
Love Hornquist Astrand
b59734d941 add TomsFastMath 2010-05-26 10:13:13 -05:00
Love Hornquist Astrand
a45d584792 add tfm dh (and some missing files) 2010-05-26 10:07:11 -05:00
Asanka Herath
3e2b840565 Try both fd and socket ops for net_read() and net_write()
When using WinSock, a socket is not a file descriptor and does not
interoperate with read()/write().  File descriptors do not work with
send()/recv().  However, for net_read() and net_write(), we don't know
whether we are dealing with a socket or a file descriptor.  So try
one, and if it fails, try the other.

This is an ugly hack until we clean up the users of this API so it
doesn't use sockets and fds interchangably.
2010-05-26 10:38:44 -04:00
Asanka Herath
5c0f3f99c6 Use path tokens when locating plug-in .dlls 2010-05-26 10:38:44 -04:00
Asanka Herath
b9567cb158 Don't attempt to release unallocated resource in fcc_move() 2010-05-26 10:38:43 -04:00
Asanka Herath
b9dc82e09e Fix slashes while expanding path tokens
On Windows, some (external) APIs get confused if we mix both back and
forward slashes.  When expanding path tokens we use back-slashes for
token expansions because they come from the OS.  For consistency, fix
the path so that the remaining path separators are also backslashes.
2010-05-26 10:38:43 -04:00
Asanka Herath
6d132f1d7d Remove spurious slash when expanding path tokens
Path tokens that expand to directories are expected to end in a slash.
2010-05-26 10:38:42 -04:00
Asanka Herath
500603506f Link libkrb5 against DNSAPI.lib on Windows 2010-05-26 10:38:42 -04:00
Asanka Herath
884f5ac627 Use WinDNS on Windows for DNS 2010-05-26 10:38:41 -04:00
Asanka Herath
a750f29cda _getch() can return '\r' on Windows 2010-05-26 10:38:40 -04:00
Asanka Herath
7b8ebf0efe Fix return value of w32crypto_bytes() and use correct data types 2010-05-26 10:38:40 -04:00
Asanka Herath
e7337145ee Define HAVE_WINDNS and NO_LIMIT_FD_SETSIZE
HAVE_WINDNS is defined when we want to use DNSAPI on Windows which
handles most of the resolver work for us.

NO_LIMIT_FD_SETSIZE is defined if the value of a socket FD does not
imply anything about the number of sockets so far assigned.
I.e. checking if the socket is larger than FD_SETSIZE is incorrect.
2010-05-26 10:38:39 -04:00
Asanka Herath
154de6b3a3 krb5_kuserok() only does the local principal test on Windows
Remove the other tests for now.  The file and directory access checks must be
made against the respective DACLs.
2010-05-26 10:38:39 -04:00
Asanka Herath
f54630328b strlen() returns a size_t 2010-05-26 10:38:38 -04:00
Asanka Herath
716121bc60 Don't break build if cleanup fails 2010-05-26 10:38:37 -04:00
Love Hornquist Astrand
323ccec648 add support to generate keys 2010-05-26 09:31:23 -05:00
Love Hornquist Astrand
fa5a1cb201 tomcrypt rsa 2010-05-22 13:19:48 -07:00
Love Hornquist Astrand
d631443133 Support both BE and LE MIT master key file formats
Prompted by discussion on heimdal-discuss by Michael Wood, Russ Allbery,
and Henry B. Hotz.
2010-05-22 13:16:52 -07:00
Love Hornquist Astrand
3c58379590 tomsfastmath version of rsa, keygen missing 2010-05-19 22:29:07 -07:00
Love Hornquist Astrand
0e97f54b54 man fixes
Add two cross references, expansion of PAG, and expansion of the -c
argument to the OpenBSD tech list earlier.

From Lars Nooden
2010-05-03 10:38:41 +02:00
Love Hornquist Astrand
fd107d08c4 use case compare for teletex string 2010-05-01 11:47:02 +02:00
Love Hornquist Astrand
af0f2717c2 test case compare 2010-05-01 11:45:40 +02:00
Love Hornquist Astrand
eec74bd2fe Wrap SOCK_CLOEXEC in ifdef, from Harald Barth 2010-04-30 15:15:58 +02:00
Simon Wilkinson
994e8641c0 hcrypto: Don't explicitly include system headers
Don't explicitly include system headers in hash.h. These get pulled
in anyway through roken.h, and explicitly including them here makes
compiling hcrypto in the kernel much harder.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-04-29 16:43:48 +02:00
Love Hornquist Astrand
2a842e90d3 Drop MD2 support
Patch partly from Guillaume Rousse
2010-04-28 22:10:27 +02:00