Commit Graph

15191 Commits

Author SHA1 Message Date
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
Asanka Herath
1a4ffdca13 Windows: Add missing dependency 2010-08-20 16:53:26 -04:00
Asanka Herath
f56c77103d Windows: Change when assemblies and shims are built
The assemblies should be built when the lib directory is build because
the generated application manifest should be used with all the tools
and executables that use the libraries.
2010-08-20 13:14:19 -04:00
Asanka Herath
08b297b785 Windows: Rename libgssapi.dll -> gssapi.dll 2010-08-20 13:14:15 -04:00
Asanka Herath
f88854effa Windows: Correct calling convention for krb5_free_unparsed_name() 2010-08-20 13:14:14 -04:00
Asanka Herath
225e142ac5 Windows: Use correct calling convention for com_err 2010-08-20 13:14:13 -04:00
Asanka Herath
0730c0b98f Windows: ASN1_LIB needs to be defined for Heimdal library 2010-08-20 13:14:12 -04:00
Asanka Herath
8d40619564 Windows: Add krb5_cc_copy_creds to the exports list 2010-08-20 13:14:12 -04:00
Asanka Herath
d98fd799c3 GSSAPI_DEPRECATED needs to be before the return type 2010-08-20 13:14:11 -04:00
Asanka Herath
3d83131be8 Export and calling convention annotation for lib/asn1 2010-08-20 13:14:10 -04:00
Asanka Herath
5dcc605f6b Fix calling conventions for Windows 2010-08-20 13:14:10 -04:00
Asanka Herath
2a2a662eca roken/parse_time-test.c: Don't pass in incorrect buffer size 2010-08-20 13:09:51 -04:00
Asanka Herath
aee2a6443d roken/test-mini_inetd.c: Use of rk_SOCK_INIT() etc. 2010-08-20 13:09:51 -04:00
Asanka Herath
745d9bcae7 Windows: Pull required declarations into roken.h.in 2010-08-20 13:09:50 -04:00
Asanka Herath
31b2dc9c48 roken/mini_inetd.c: Don't check against FD_SETSIZE unless necessary 2010-08-20 13:09:50 -04:00
Asanka Herath
63e3aedf8c Windows: Fix lib/hcrypto tests 2010-08-20 13:09:49 -04:00
Asanka Herath
481fe5bcf6 Windows: lib/roken tests now depend on DNSAPI 2010-08-20 13:09:48 -04:00
Asanka Herath
e3ce1ff01b lib/wind/test-normalize.c: Dump failing vectors
If a Unicode string fails a normalization test, dump it so we can
figure out why its failing.
2010-08-20 13:09:48 -04:00
Asanka Herath
2730cfc919 lib/hcrypto/test_*: Use "rb" when opening binary files 2010-08-20 13:09:47 -04:00
Asanka Herath
e88a1d83c6 test_crypto.in: Also test w32crypto 2010-08-20 13:09:47 -04:00
Asanka Herath
eafb187cd0 Declare RAND_w32crypto_method() 2010-08-20 13:09:46 -04:00
Asanka Herath
9b466f35fb Windows: RAND_file_name() should look up profile path
If RANDFILE and HOME environment variables aren't defined, failover to
looking up the user's profile path.  In particular, default to a file
named .rnd in the user's local (non-roamin) application data
directory.
2010-08-20 13:09:45 -04:00
Asanka Herath
12909ec109 lib/wind: Canonical ordering can't use unstable sort 2010-08-20 13:09:45 -04:00
Asanka Herath
7af1f40258 hcrypto/test_rand.c: Add w32crypto method
Also make it non-fatal to request a method that is unsupported.  This
makes it possible to only test methods that we are compiling.
2010-08-20 13:09:44 -04:00
Asanka Herath
f807cb8152 Windows: Update exports 2010-08-20 13:07:58 -04:00
Asanka Herath
ede3437ced Windows: Fix test on lib/editline 2010-08-20 13:06:58 -04:00