Asanka Herath
84c42b3592
Windows: Regenerated libasn1-exports.def
...
Sorted and with data exports declared using DATA statements.
2010-09-14 08:03:36 -04:00
Asanka Herath
ed226d4241
Declare ASN.1 exported data using ASN1EXP
2010-09-14 08:03:35 -04:00
Asanka Herath
4b36b36e0b
Add roken/rename.c to fix non-standard rename()
...
roken/rename.c is for platforms where the native rename()
implementation does not replace the target if it already exists. This
implementation isn't atomic, but should be close enough for most
purposes.
For correct behavior, rk_rename() should be used instead of rename().
rk_rename() is #defined to be rename() on platforms where this fix is
not necessary.
2010-09-14 08:03:34 -04:00
Asanka Herath
6cc480fc09
Additional tests cases for test_addr.c
...
On platform where we build our own inet_ntop(), exercise it a bit
more. Specifically for zero string compression of IPv6 addresses.
2010-09-14 08:03:33 -04:00
Asanka Herath
7479c855a0
Windows: Don't attempt to copy a string to a zero length buffer
...
It won't cause harm since strcpy_s() deals with zero length buffers,
but it invokes the invalid parameter handler, which can disrupt
execution on debug builds.
2010-09-14 08:03:33 -04:00
Asanka Herath
d4fc674024
strlcat() isn't supposed to access *dst past dst_sz
...
Try not to do that on platforms where we can avoid it.
2010-09-14 08:03:32 -04:00
Asanka Herath
7e3bd7f9aa
Windows: Fix use of file descriptors as sockets
...
Sockets and file descriptors are not interchangeable on Windows. The
test for checking whether a given value is a socket or an FD was
broken for the case where WinSock was not initialized to begin with.
2010-09-14 08:03:31 -04:00
Asanka Herath
bd795255aa
Fix fcc_remove_cred() on platforms with non-standard rename()
2010-09-14 08:03:31 -04:00
Asanka Herath
b74fa12602
Windows: Have test binaries depend on built libraries
2010-09-14 08:03:30 -04:00
Asanka Herath
738e2ea55b
Compress zeros when converting IPv6 addresses
...
libroken implementation of inet_ntop() was not compressing strings of
zeros. While it is optional, not doing so was intefering with address
conversion tests in lib/krb5.
2010-09-14 08:03:30 -04:00
Asanka Herath
8a1fb91009
Don't fail tests for unsupported rand methods
2010-09-14 08:03:29 -04:00
Asanka Herath
2ea71109d3
Windows: Add missing exports to libhcrypto-exports.def
2010-09-14 08:03:28 -04:00
Asanka Herath
1e540dbf5c
Windows: Fix dependencies for hcrypto/test_hmac.exe
2010-09-14 08:03:28 -04:00
Asanka Herath
4c6cdf07c2
Fix calling convention for asn1 tests
2010-09-14 08:03:27 -04:00
Love Hornquist Astrand
5c34efcef1
add data/win-u16-in-printablestring.der
2010-09-13 00:04:47 -07:00
Love Hornquist Astrand
1ddb13e34a
add missing files
2010-09-13 00:04:33 -07:00
Love Hornquist Astrand
ed7a5175fb
add opt files
2010-09-12 23:37:36 -07:00
Love Hornquist Astrand
1205b35297
remove extra b
2010-09-12 23:22:41 -07:00
Love Hornquist Astrand
3af3dd2673
add heim_ipc_types.h
2010-09-12 23:18:02 -07:00
Love Hornquist Astrand
e80ef86fe4
include hi_locl.h
2010-09-12 23:11:47 -07:00
Love Hornquist Astrand
da24828d50
add heim_ipc_reply.defs
2010-09-12 23:05:51 -07:00
Love Hornquist Astrand
615257472b
add heim_ipc_async.defs
2010-09-12 23:02:01 -07:00
Love Hornquist Astrand
d1943f6860
add heim_ipc.defs
2010-09-12 22:53:33 -07:00
Love Hornquist Astrand
ba5c014af0
add krb5_get_permitted_enctypes
2010-09-08 22:04:03 -07:00
Love Hornquist Astrand
3798647400
Define HAVE_CFPROPERTYLISTCREATEWITHSTREAM if this is 10.6 or newer
2010-09-08 12:22:12 -07:00
Love Hornquist Astrand
63b6dd1943
make work w/o gcd
2010-09-08 09:49:03 -07:00
Love Hornquist Astrand
bac0598ce6
cancel sources
2010-09-08 09:45:40 -07:00
Love Hornquist Astrand
d615f77834
condition gcd on HAVE_GCD
2010-09-08 09:18:03 -07:00
Love Hornquist Astrand
17d64b8507
add validation of hmac
2010-09-08 00:06:40 -07:00
Love Hornquist Astrand
51e6e505f1
add validate.c
2010-09-08 00:04:18 -07:00
Love Hornquist Astrand
b897f2df34
export hc_hcrypto_validate
2010-09-08 00:04:10 -07:00
Love Hornquist Astrand
28c80fdf15
validate args before use
2010-09-08 00:04:01 -07:00
Love Hornquist Astrand
76867d73ab
validate args before use
2010-09-08 00:03:39 -07:00
Love Hornquist Astrand
cf3d2ca7ed
simple validation of crypto core
2010-09-08 00:03:27 -07:00
Love Hornquist Astrand
eb2b84791a
add back tfm
2010-09-07 23:58:34 -07:00
Love Hornquist Astrand
c3670bb45f
remove unused variable
2010-09-07 23:57:12 -07:00
Love Hornquist Astrand
7c0b7083ea
add missing ;
2010-09-07 23:56:40 -07:00
Love Hornquist Astrand
04e0c67070
wrap common crypto in HAVE_COMMONCRYPTO_COMMONCRYPTOR_H
2010-09-07 23:25:33 -07:00
Eray Aslan
a1c14b2319
Add --with-berkeley-db-include option
...
Adds --with-berkeley-db-include=dir option to configure to use berkeley
db headers in dir. Default is to let configure check. Also adds
support for checking for and using db5/db.h
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-09-05 18:41:30 -07:00
Love Hornquist Astrand
d893207413
add check-rd-req-server
2010-09-01 21:56:17 -07:00
Love Hornquist Astrand
856c1c0a86
accept >= 0 and valid return codes from RAND_bytes due to broken engine from the isc bind implementation, reported by Sam Liddicott
2010-09-01 21:00:07 -07:00
Derrick Brashear
33e0d2c32e
asn1 header generation misses newline
...
at some point asn1 header generation lost its trailing newline on
asn1_%s_units prototypes. put it back for neatness.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-08-28 13:31:46 -07:00
Love Hornquist Astrand
4f5390877a
plug memory leaks
2010-08-23 22:02:10 -07:00
Simon Wilkinson
bbc9176868
hcrypto: Don't use 'u' as a variable name
...
Some kernels #define u as a pointer to the current user structure.
This causes problems when trying to use hcrypto's hash routines in
those kernels, as they try to use 'u' as a variable name for a
structure pointer. Change this variable name to avoid the conflict.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2010-08-23 21:21:14 -07:00
Asanka Herath
92bdd469bc
Windows: heimdal.dll depends on LIBLTM instead of LIBTFM
2010-08-20 16:57:21 -04:00
Asanka Herath
8e8cf3814f
Use <errno.h> instead of <sys/errno.h> in hcrypto/common.c
2010-08-20 16:56:46 -04:00
Asanka Herath
8b378cec73
Windows: Revised exports for libgssapi
2010-08-20 16:56:20 -04:00
Asanka Herath
4b1fbabe68
Windows: Fix build rules and includes for libtommath
2010-08-20 16:55:53 -04:00
Asanka Herath
93c08e67f0
Windows: Add missing dependency
2010-08-20 16:55:15 -04:00
Asanka Herath
fd3d2ccd0d
Windows: Build with USE_HCRYPTO_IMATH
2010-08-20 16:53:57 -04:00