54056b3882
add KeyUsage error
Love Hörnquist Åstrand
2005-07-25 11:45:33 +00:00
36d90c324b
add checks for KeyUsage
Love Hörnquist Åstrand
2005-07-25 11:44:35 +00:00
9c1bb470a3
more checks on KeyUsage, allow to query on them too
Love Hörnquist Åstrand
2005-07-25 11:43:10 +00:00
4789016d20
Add missing break.
Love Hörnquist Åstrand
2005-07-24 20:48:29 +00:00
b4da75540c
x
Love Hörnquist Åstrand
2005-07-24 20:38:12 +00:00
741d6b5d40
allow matching on SubjectKeyId
Love Hörnquist Åstrand
2005-07-24 20:37:39 +00:00
534d106cc9
Use _hx509_map_file, _hx509_unmap_file and _hx509_write_file.
Love Hörnquist Åstrand
2005-07-24 20:23:41 +00:00
c6496bc8bf
(_hx509_write_file): in case of write error, return errno
Love Hörnquist Åstrand
2005-07-24 20:22:39 +00:00
4c75ad55b0
(_hx509_write_file): add a function that write a data blob to disk too
Love Hörnquist Åstrand
2005-07-24 20:21:29 +00:00
a466928bb3
x
Love Hörnquist Åstrand
2005-07-24 20:06:48 +00:00
9a65106a30
fix id tags
Love Hörnquist Åstrand
2005-07-24 20:05:40 +00:00
dcde19f45e
x
Love Hörnquist Åstrand
2005-07-24 17:01:39 +00:00
0a70228c08
Initial revision
Love Hörnquist Åstrand
2005-07-24 16:59:14 +00:00
c3bf2d966b
add PKCS12-OctetString
Love Hörnquist Åstrand
2005-07-23 11:08:47 +00:00
b24968272f
Adapt to IMPLICIT changes in CMS module.
Love Hörnquist Åstrand
2005-07-23 10:42:01 +00:00
a8f3b3b5f0
add new files
Love Hörnquist Åstrand
2005-07-23 10:40:47 +00:00
1a653c9ed0
include SET OF in Attribute to make the type more useful
Love Hörnquist Åstrand
2005-07-23 10:39:47 +00:00
17a3d4c545
add some more oid's needed for CMS
Love Hörnquist Åstrand
2005-07-23 10:38:28 +00:00
f03a6ff4f3
handle IMPLICIT and share some common structures
Love Hörnquist Åstrand
2005-07-23 10:37:13 +00:00
dba37c76b7
x
Love Hörnquist Åstrand
2005-07-22 10:36:49 +00:00
6c103d74ad
x
Love Hörnquist Åstrand
2005-07-21 21:04:37 +00:00
e5fe708bc5
Include enough workarounds that this even might work.
Love Hörnquist Åstrand
2005-07-21 21:04:14 +00:00
091fd69373
x
Love Hörnquist Åstrand
2005-07-21 20:53:09 +00:00
91343fdb0c
x
Love Hörnquist Åstrand
2005-07-21 20:52:32 +00:00
5b5c414c58
fix workaround for IMPLICIT CONS case
Love Hörnquist Åstrand
2005-07-21 20:49:15 +00:00
5dfc656f1e
Two implicit tests, one with all structures inlined
Love Hörnquist Åstrand
2005-07-21 20:48:27 +00:00
e8e359c3e5
gen_files_test += asn1_TESTImplicit2.x
Love Hörnquist Åstrand
2005-07-21 20:47:37 +00:00
43bae75fe0
x
Love Hörnquist Åstrand
2005-07-21 19:51:12 +00:00
cd2906e547
hint that there are IMPLICIT content when we find it
Love Hörnquist Åstrand
2005-07-21 19:50:59 +00:00
b3df78e697
x
Love Hörnquist Åstrand
2005-07-21 19:48:12 +00:00
f9186683ce
Added #ifdef out test for IMPLICIT tagging.
Love Hörnquist Åstrand
2005-07-21 19:47:58 +00:00
ec6d0840fc
test several IMPLICIT tag level deep
Love Hörnquist Åstrand
2005-07-21 19:45:32 +00:00
aefa27d866
test several IMPLICIT tag level deep
Love Hörnquist Åstrand
2005-07-21 19:39:40 +00:00
3d9e36d3a1
tests for IMPLICIT
Love Hörnquist Åstrand
2005-07-21 19:14:53 +00:00
8c0660f084
Expand on what is wrong with the IMPLICIT tagging
Love Hörnquist Åstrand
2005-07-21 19:09:41 +00:00
cd1384dc92
x
Love Hörnquist Åstrand
2005-07-21 13:36:31 +00:00
090d803dfe
x
Love Hörnquist Åstrand
2005-07-21 10:20:48 +00:00
ad8050e056
some of the structure are in the IMPLICIT TAGS module, adapt
Love Hörnquist Åstrand
2005-07-21 10:20:16 +00:00
5c6eeaa14d
use AS_HELP_STRING instead of AC_HELP_STRING
Love Hörnquist Åstrand
2005-07-21 08:33:30 +00:00
73a3559e78
TESTS += test_pkinit_dh2key
Love Hörnquist Åstrand
2005-07-20 16:28:29 +00:00
5f10d59828
framework for testing _krb5_pk_octetstring2key
Love Hörnquist Åstrand
2005-07-20 16:27:58 +00:00
86da9d4b0b
x
Love Hörnquist Åstrand
2005-07-20 10:49:52 +00:00
f871c8a84d
change unsigned char * to void *
Love Hörnquist Åstrand
2005-07-20 10:49:24 +00:00
1f69d5ed18
x
Love Hörnquist Åstrand
2005-07-20 08:46:15 +00:00
d9e04327fb
(doit): krb5_addr2sockaddr takes a krb5_socklen_t
Love Hörnquist Åstrand
2005-07-20 08:46:02 +00:00
f78e6abe5c
(de_http): sscanf takes a char *, not unsigned ditto, cast approriately
Love Hörnquist Åstrand
2005-07-20 08:40:27 +00:00
cb66375606
x
Love Hörnquist Åstrand
2005-07-20 07:39:27 +00:00
a15603afa7
(_krb5_pk_octetstring2key): make sha1 output unsigned char to match openssl
Love Hörnquist Åstrand
2005-07-20 07:22:43 +00:00
aae79f52b3
x
Love Hörnquist Åstrand
2005-07-19 18:49:45 +00:00
050f24465c
print size_t by casting to unsigned long and use right printf format tags are unsigned integers
Love Hörnquist Åstrand
2005-07-19 18:49:05 +00:00
3d0c56c8fc
(generate_constant): oid elements are unsigned
Love Hörnquist Åstrand
2005-07-19 18:46:50 +00:00
99a6bdb769
Fix shadow warning.
Love Hörnquist Åstrand
2005-07-19 18:33:08 +00:00
5116c50655
Fix shadow warnings.
Love Hörnquist Åstrand
2005-07-19 18:30:48 +00:00
718ab89892
x
Love Hörnquist Åstrand
2005-07-19 18:20:40 +00:00
6ed70c8045
Remove parameter names to avoid shadow warnings.
Love Hörnquist Åstrand
2005-07-19 18:20:27 +00:00
8c7c8ea323
fix shadow warnings
Love Hörnquist Åstrand
2005-07-19 18:19:33 +00:00
30cb2f9c22
(decode_type): tagdatalen should be an size_t.
Love Hörnquist Åstrand
2005-07-19 18:09:30 +00:00
35506ca735
(decode_heim_any): tag is unsigned int.
Love Hörnquist Åstrand
2005-07-19 18:05:16 +00:00
dd801b3ca3
(der_match_tag): tag is unsigned int.
Love Hörnquist Åstrand
2005-07-19 18:04:00 +00:00
a0f68f2640
(length_type): cast size_t argument to unsigned long and use appropriate printf format
Love Hörnquist Åstrand
2005-07-19 18:01:59 +00:00
c03dd92230
x
Love Hörnquist Åstrand
2005-07-19 17:09:09 +00:00
c236c30dff
Kerberos 5 klist.
Love Hörnquist Åstrand
2005-07-19 17:08:42 +00:00
70e4fce904
Add Kerberos 5 klist, old patch from Tomas Nyström (remove krb4 support). Support klist in client for kerberos 5 clase. Clean up delegation of gss tokens and do afslog.
Love Hörnquist Åstrand
2005-07-19 17:08:11 +00:00
eaaf5d23fd
(generic_decode_fail): only copy in if checklen its less then 0xffffff and larger than 0.
Love Hörnquist Åstrand
2005-07-19 15:07:25 +00:00
0a52623725
x
Love Hörnquist Åstrand
2005-07-19 14:21:43 +00:00
c77f5c2515
(find_tag): find external references, we can't handle those, so tell user that instead of crashing
Love Hörnquist Åstrand
2005-07-19 14:21:28 +00:00
c2f3dcf61d
x
Love Hörnquist Åstrand
2005-07-19 14:18:55 +00:00
42c8e8f966
(free_heim_any_set): Fix return.
Love Hörnquist Åstrand
2005-07-19 14:18:39 +00:00
a42c7b8b15
(find_tag): Fix return in TType case.
Love Hörnquist Åstrand
2005-07-19 14:16:25 +00:00
c2385704fd
x
Love Hörnquist Åstrand
2005-07-15 13:13:45 +00:00
eada81c4d8
x
Love Hörnquist Åstrand
2005-07-15 00:54:50 +00:00
22ca9e3e4a
Check encoder lengths from ASN1_MALLOC_ENCODE.
Love Hörnquist Åstrand
2005-07-14 10:12:51 +00:00
ca2802aba8
x
Love Hörnquist Åstrand
2005-07-13 10:40:36 +00:00
ab69af8c30
(TChoice): add () to make sure variable expression is evaluated correctly
Love Hörnquist Åstrand
2005-07-13 10:40:23 +00:00
85342c54c4
x
Love Hörnquist Åstrand
2005-07-13 08:29:43 +00:00
4e312517de
(gss_adat): avoid leaking memory (gss_auth): always try next kname if there is one, independant of min_stat
Love Hörnquist Åstrand
2005-07-13 08:29:29 +00:00
a4a3844b88
avoid const warning, use sin4 instead of sin to avoid shadow warning, free target_name
Love Hörnquist Åstrand
2005-07-13 08:02:39 +00:00
7712e99eb3
x
Love Hörnquist Åstrand
2005-07-13 07:58:49 +00:00
c079388c13
(nl_getlist): poll to get messages from kernel, and retry if the message was lost (free_nlmsglist): free all linked elements, not just the first one
Love Hörnquist Åstrand
2005-07-13 07:58:36 +00:00
0f1c19edb9
(krb5_get_credentials_with_flags): only call krb5_cc_retrieve_cred once, and plug memory leak.
Love Hörnquist Åstrand
2005-07-13 07:38:02 +00:00
b8703f6d40
x
Love Hörnquist Åstrand
2005-07-13 07:00:34 +00:00
33f176705d
(spnego_initial): NegotiationToken encoder now that we have one with the new asn1. compiler.
Love Hörnquist Åstrand
2005-07-13 07:00:15 +00:00
50215461bc
the new asn.1 compiler includes the modules name in the depend file
Love Hörnquist Åstrand
2005-07-13 06:55:28 +00:00
a6c240e6aa
x
Love Hörnquist Åstrand
2005-07-13 06:54:33 +00:00
237641e2ca
update (c)
Love Hörnquist Åstrand
2005-07-13 06:08:07 +00:00
e101a6175e
x
Love Hörnquist Åstrand
2005-07-13 05:34:47 +00:00
f1542ef9cd
(fkt_start_seq_get_int): check return value from krb5_storage_from_fd
Love Hörnquist Åstrand
2005-07-13 05:34:29 +00:00
1b5061371c
reapply 1.43 that got lost in the merge: rename pvno to krb5-pvno
Love Hörnquist Åstrand
2005-07-13 05:29:49 +00:00
f0c2551101
x
Love Hörnquist Åstrand
2005-07-12 22:31:40 +00:00