Asanka Herath
f065ca176f
(lib/krb5) Update exports list
2009-11-26 01:55:48 -05:00
Asanka Herath
393a597858
SOCK_INIT/SOCK_EXIT -> rk_SOCK_INIT/rk_SOCK_EXIT and net_write_s() -> net_write()
2009-11-26 01:42:57 -05:00
Asanka Herath
67c3295fcb
KRB5_DEPRECATED should be prefixed to the declaration
2009-11-26 01:41:57 -05:00
Asanka Herath
49d28d3f3a
Thread safety for rand-w32
2009-11-26 01:39:42 -05:00
Asanka Herath
e3882ffc62
(lib/hcrypto) Make w32crypto the default and only RAND method on Windows
2009-11-26 01:38:43 -05:00
Asanka Herath
8f6d724979
(lib/com_err) Add missing exports
2009-11-26 01:37:11 -05:00
Asanka Herath
faa7dd7234
(lib/roken) Add ct.c to libroken on Windows
2009-11-25 12:43:16 -05:00
Asanka Herath
72848585cd
KRB5_DEPRECATED needs to be prefixed to the declaration on Windows
2009-11-25 12:43:16 -05:00
Asanka Herath
798d78e098
(lib/krb5/auth_context.c) Fix declaration
2009-11-25 12:43:15 -05:00
Asanka Herath
a3727d2126
(lib/hx509) Add missing header files and update exports
2009-11-25 12:43:14 -05:00
Asanka Herath
4d923e766c
(lib/hcrypto) Add missing header files and update exports list
2009-11-25 12:43:13 -05:00
Asanka Herath
cb9fefd200
(lib/asn1) Add asn1-template.h to NTMakefile
2009-11-25 12:43:13 -05:00
Asanka Herath
94c9bd3557
(lib/asn1) Bring Windows build up-to-date
2009-11-25 12:43:11 -05:00
Asanka Herath
84344949ec
(lib/asn1/gen.c) The name for define_type() shouldn't include a semicolon
2009-11-25 12:43:10 -05:00
Love Hornquist Astrand
16a890a29c
revert merged patches
2009-11-25 08:28:35 -08:00
Love Hornquist Astrand
c8fc15de86
random number from windows csp
2009-11-25 07:52:39 -08:00
Love Hornquist Astrand
86f4c66efd
Merge branch 'master' into wip/win32-port2
2009-11-25 05:41:14 -08:00
Gabor Gombas
b6fe5a95d3
kdc and kinit wanted to use some symbols that were not exported by
...
libkrb5/libkdc
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-25 05:18:49 -08:00
Gabor Gombas
4c37844073
define KRB5_LIB_CALL in generated headers
...
glob.h did not define ROKEN_LIB_CALL and that caused havoc when it was
included before other roken headers, because those only check for the
existence of ROKEN_LIB_FUNCTION
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-25 05:14:46 -08:00
Gabor Gombas
75a53f54fc
the MIT DB code is between "#if HAVE_DB1... #endif"
...
use the same check in the descriptor table
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-25 05:10:29 -08:00
Love Hornquist Astrand
a059a70746
Only accept self-signed certs within chains for strong hash types
2009-11-25 05:03:16 -08:00
Asanka Herath
b191b1e12f
Make kdc build on windows
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-24 22:19:37 -08:00
Asanka Herath
caf8f87598
Make hdb build on windows
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-24 21:59:12 -08:00
Asanka Herath
7097787a21
Make com_err build on windows
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-24 21:56:41 -08:00
Love Hornquist Astrand
2204b852a7
Merge branch 'master' into wip/win32-port2
2009-11-24 21:46:10 -08:00
Asanka Herath
d00f9984a5
Make roken build on windows
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-24 21:42:02 -08:00
Love Hornquist Astrand
f1c0c1bba3
prefix SOCKET symbols with rk_
2009-11-25 05:29:18 +01:00
Love Hornquist Astrand
2f290bdd96
Merge 'master'
2009-11-25 02:32:26 +01:00
Asanka Herath
c4b95f7330
Make build on windows
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-25 02:22:31 +01:00
Asanka Herath
452c20aed5
Make build on windows
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-25 02:19:05 +01:00
Asanka Herath
20c26609da
Make build on windows
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-25 02:15:29 +01:00
Love Hornquist Astrand
e0a6ee793b
CHAR is not used, don't define it
2009-11-25 02:14:06 +01:00
Asanka Herath
16b7db3e5f
Resource file for windows
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-25 02:04:14 +01:00
Love Hornquist Astrand
3199980f5a
use rk_PATH_DELIM
2009-11-25 02:01:57 +01:00
Asanka Herath
3982b965c6
Make hx509 compile on windows
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-25 00:24:01 +01:00
Asanka Herath
5d48156c51
Make hx509 compile on windows
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-25 00:20:44 +01:00
Love Hornquist Astrand
98ed50fdf0
switch krb5_socket_t
2009-11-24 13:40:32 -08:00
Asanka Herath
1d624801c1
Compile on windows
...
- include <stdlib.h>
- export file
- fill out structs to make it compile with visual studio
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-24 12:33:37 -08:00
Love Hornquist Astrand
c6bbdb545b
First drop of Windows build infrastructure from Secure Endpoints
2009-11-24 12:12:53 -08:00
Asanka Herath
a87447f2b4
Use casts to reduce errors when converting sockaddr* to sockaddr_in or sockaddr_in6
2009-11-24 10:20:19 -08:00
Asanka Herath
81b70c3488
Copy cc_ops and kt_types when copying a krb5_context in krb5_copy_context()
2009-11-24 10:20:19 -08:00
Asanka Herath
7262cbab9c
Comment for fd_from_socket()
2009-11-24 10:20:19 -08:00
Asanka Herath
480acc60ec
Build libwind as a .dll by default
2009-11-24 10:20:19 -08:00
Asanka Herath
f5b69e17f3
NTMakefile update for lib/roken to bulid additional modules and additional tests
2009-11-24 10:20:19 -08:00
Asanka Herath
db6994d1f5
Header file ordering
2009-11-24 10:20:18 -08:00
Asanka Herath
c0600f525c
Add test for mini_inetd()
2009-11-24 10:20:18 -08:00
Asanka Herath
170e8158cb
strcpy_s() and strcat_s() aren't drop-in replacements for strlcpy() and strlcat()
2009-11-24 10:20:18 -08:00
Asanka Herath
6c45d5614a
Minor refactoring in simple_exec_w32.c
2009-11-24 10:20:18 -08:00
Asanka Herath
8e785a5750
Formatting changes and new mini_inetd() function signatures
2009-11-24 10:20:18 -08:00
Asanka Herath
e1932ec0fd
If a recv() return EINTR on Windows, don't retry
...
EINTR (or WSAEINTR) is used to indicate that a blocking call was cancelled
using WSACancelBlockingCall(). Retrying wouldn't be the right thing to
do in this case.
2009-11-24 10:20:18 -08:00