Commit Graph

14737 Commits

Author SHA1 Message Date
Asanka Herath
cdcdc5cad5 Windows: Version information for binaries 2010-08-20 13:06:54 -04:00
Asanka Herath
d83611238a Windows: Build a single heimdal.dll
Heimdal.dll is a combination of libasn1, libwind, libhcrypto, libhx509
and libkrb5.
2010-08-20 13:06:54 -04:00
Asanka Herath
ea4d8dbfdb Windows: Use EXEPREP and DLLPREP macros for processing binaries
Once DLLs and EXEs are built, they need to have their manifests
processed and signed.  These steps are encapsulated in the EXEPREP and
DLLPREP Makefile macros.  Use them instead of invoking each processing
macro individually.
2010-08-20 13:04:06 -04:00
Asanka Herath
0d09c879f3 Reduce compiler warnings on Windows 2010-08-20 13:04:06 -04:00
Asanka Herath
f456b70013 Relocate roken WinSock declarations 2010-08-20 13:03:41 -04:00
Asanka Herath
04a7eaa170 Call ioctlsocket() indirectly
We were calling ioctlsocket() through a macro.  However, due to type
safety issues, we have to call it indirectly through rk_SOCK_IOCTL().
2010-08-20 13:03:40 -04:00
Asanka Herath
6b0baa2a8d Fix call to WSAStringToAddress()
String argument to WSAStringToAddress() is not const, while argument
to inet_pton() is.  Create a non-const string for the purpose of
calling WSAStringToAddress()
2010-08-20 13:03:40 -04:00
Asanka Herath
3a8922fe2d Change return type of checksum_type::checksum
struct checksum_type::checksum had a return value of krb5_enctype,
even though implementations returned krb5_error_code.  Change
declaration to match implementation.
2010-08-20 13:03:39 -04:00
Asanka Herath
5f87ea3bbf Let dlfcn.h return a function pointer on Windows 2010-08-20 13:03:38 -04:00
Asanka Herath
24cbddd4b9 Resolve warnings on Windows
Appease the compiler by resolving some of the reported warnings,
including:

- Control paths that don't return.

- Potentially uninitialized variables.

- Unused local variables.

- Unreachable code.

- Type safety.

- Synchronize declarations with definitions for functions.
2010-08-20 13:03:38 -04:00
Asanka Herath
869e970f5d Use rk_socket_t in lib/kadm5/init_c.c 2010-08-20 13:03:37 -04:00
Asanka Herath
dba793110b Fix unused variable on Windows for softp11.c 2010-08-20 13:03:36 -04:00
Asanka Herath
ab56333fd7 Variable initialization in hdb_sqlite_store()
If the call to krb5_unparse_name() fails, we might try to free an
uninitialized pointer.
2010-08-20 13:03:36 -04:00
Asanka Herath
e512f5e826 Type safety for rsa-tfm.c 2010-08-20 13:03:35 -04:00
Asanka Herath
ccc5fa16b1 Silence type safety warnings for rand-w32.c
Cast parameters to exact expected type so compiler won't complain.
2010-08-20 13:03:35 -04:00
Asanka Herath
cd1e4911ca Local variable initialization for s_embar()
Or we may potentially return an uninitialized value.
2010-08-20 13:03:34 -04:00
Asanka Herath
87bc873223 Fix declaration of CAMELLIA_cbc_encrypt() 2010-08-20 13:03:34 -04:00
Asanka Herath
d25d9476b7 Type safety and variable initialization in ASN.1 generated code 2010-08-20 13:03:33 -04:00
Asanka Herath
e9160dbcfa Support parallelized builds on Windows 2010-08-20 13:03:32 -04:00
Love Hornquist Astrand
c6ed8b9a66 indent 2010-08-20 00:07:03 -07:00
Love Hornquist Astrand
90a605432e .c -> .obj 2010-08-20 00:05:16 -07:00
Love Hornquist Astrand
27c94fadca bits 2010-08-20 00:03:16 -07:00
Love Hornquist Astrand
c073ec126f remove unused stuff 2010-08-20 00:01:49 -07:00
Love Hornquist Astrand
1f226a37b9 try glue in ltm in NTMakefile 2010-08-19 23:55:33 -07:00
Love Hornquist Astrand
b00e010309 spelling, from Remi Ferrand 2010-08-19 21:31:10 -07:00
Love Hornquist Astrand
2952862912 add new numbers 2010-08-15 15:27:36 -07:00
Love Hornquist Astrand
763a72b73a enable ltm, add key blinding, add remove tfm 2010-08-15 15:06:58 -07:00
Love Hornquist Astrand
44dfbeb596 add --no-embedded-cert and --embed-leak-only 2010-08-10 10:41:58 -07:00
Love Hornquist Astrand
23a49750c2 make Digestalgorithmidentifier an sequence type 2010-08-10 10:41:31 -07:00
Love Hornquist Astrand
739c79b76b don't add dup digestAlgorithms 2010-08-10 10:40:54 -07:00
Love Hornquist Astrand
49aea1f0b3 allow TSetOf to be sequence types too 2010-08-10 10:33:25 -07:00
Love Hornquist Astrand
b11217838e --no-embedded-certs and --embed-leaf-only 2010-08-10 10:20:13 -07:00
Love Hornquist Astrand
bcf2cbca83 add HX509_CMS_SIGNATURE_NO_CERTS and HX509_CMS_SIGNATURE_LEAF_ONLY 2010-08-10 10:19:51 -07:00
Love Hornquist Astrand
4bb81d921d add HX509_CMS_SIGNATURE_NO_CERTS and HX509_CMS_SIGNATURE_LEAF_ONLY 2010-08-10 10:19:48 -07:00
Love Hornquist Astrand
5e3e5a6497 test more then one signer 2010-08-10 10:19:16 -07:00
Love Hornquist Astrand
dc0fbbf8c9 add hx509_cert_get_{issuer,subject}_unique_id 2010-08-10 09:23:41 -07:00
Love Hornquist Astrand
3e84bcb25a make setting issuerUniqueID and subjectUniqueID independant 2010-08-10 09:22:35 -07:00
Love Hornquist Astrand
94c720a453 add new symbols 2010-08-10 09:22:30 -07:00
Love Hornquist Astrand
56f4eb92cb Allow setting the issuerUniqueID and subjectUniqueID 2010-08-10 08:01:24 -07:00
Love Hornquist Astrand
5dc765aa16 use uppercase OID def 2010-08-08 17:02:48 -07:00
Love Hornquist Astrand
72892fccbb Provide a cpp symbols for oids that is a pointer 2010-08-08 16:56:44 -07:00
Love Hornquist Astrand
1be863f364 change variables to make more sense 2010-08-08 16:10:44 -07:00
Love Hornquist Astrand
1b63db9b6e compare right thing 2010-08-08 16:08:04 -07:00
Love Hornquist Astrand
fa4c84e6d6 make printablestring and ia5string octetstrings 2010-08-08 15:51:33 -07:00
Love Hornquist Astrand
d79063ee9f add id-secsig-sha-1WithRSAEncryption 2010-08-08 15:49:49 -07:00
Love Hornquist Astrand
a0fcf9241a add id-secsig-sha-1WithRSAEncryption 2010-08-08 15:49:18 -07:00
Love Hornquist Astrand
977badd14b fix printf fmt arg warning 2010-08-08 12:29:35 -07:00
Cédric Schieli
901d655ba7 Make sure existing entries can be found by userid
A typo in LDAP__lookup_princ makes using existing LDAP entries broken,
a new entry is always created even if an entry with proper uid and
structural objectclass can be found.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-08-08 08:23:12 -07:00
Love Hornquist Astrand
16feede517 Build test vectors for Simon Josefsson (draft-josefsson-pbkdf2-test-vectors-00) 2010-08-05 00:50:28 -07:00
Russ Allbery
811d9003c1 Remove remnants of srvtab support
Support for manipulating srvtabs was previously removed, but there
were still remnants in command documentation in the ktutil man page
and some declared and exported variables for the keytab ops
definitions for srvtab manipulation.  Remove these additional
remnants.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-08-03 09:09:32 -07:00