ab868c1a2a
test rc2-40 rc2-64 rc2-128 enveloped data
Love Hörnquist Åstrand
2006-04-14 21:02:00 +00:00
ded280162c
test cases for rc2
Love Hörnquist Åstrand
2006-04-14 21:00:58 +00:00
893aa61f9d
Update prototypes changes for hx509_crypto_[gs]et_params.
Love Hörnquist Åstrand
2006-04-14 20:59:14 +00:00
be73b86680
Break out the parameter handling code for encrypting data to handle RC2. Needed for Windows 2k pk-init support.
Love Hörnquist Åstrand
2006-04-14 20:58:31 +00:00
604652ed73
x
Love Hörnquist Åstrand
2006-04-14 14:22:25 +00:00
ab8354ee2f
(DES_cfb64_encrypt): add asserts that the *num pointers is >= 0, because if it is, its a programmer error.
Love Hörnquist Åstrand
2006-04-14 14:19:36 +00:00
562667c187
x
Love Hörnquist Åstrand
2006-04-14 13:56:21 +00:00
0b29b91f6f
(dns_srv_order): change a if (ptr == NULL) continue into a assert(ptr != NULL) since it could never happen, found by the IBM code checker (beam). Thanks to Florian Krohm for explaining it.
Love Hörnquist Åstrand
2006-04-14 13:56:00 +00:00
abd7e5ec1c
x
Love Hörnquist Åstrand
2006-04-12 17:45:55 +00:00
8d95c53570
Export sequence order element. From Wynn Wilkes <wynn.wilkes@quest.com>.
Love Hörnquist Åstrand
2006-04-12 17:45:22 +00:00
6b8576e29f
Import sequence order element. From Wynn Wilkes <wynn.wilkes@quest.com>.
Love Hörnquist Åstrand
2006-04-12 17:45:03 +00:00
6dc6bb7552
(_gssapi_msg_order_import,_gssapi_msg_order_export): New functions, used by {import,export}_sec_context. From Wynn Wilkes <wynn.wilkes@quest.com>.
Love Hörnquist Åstrand
2006-04-12 17:44:05 +00:00
c1a6be3ef3
Add test for import/export sequence.
Love Hörnquist Åstrand
2006-04-12 17:42:17 +00:00
c3e1233f63
(krb5_rd_safe): fix argument to krb5_data_zero, handle message size = 0
Love Hörnquist Åstrand
2006-04-12 16:20:03 +00:00
766c132ea1
Fix argument to krb5_data_zero.
Love Hörnquist Åstrand
2006-04-12 16:18:10 +00:00
5948640960
x
Love Hörnquist Åstrand
2006-04-12 13:22:18 +00:00
6815452550
Added certificate revoke information from configuration file.
Love Hörnquist Åstrand
2006-04-12 13:21:46 +00:00
1ffa6c23e3
x
Love Hörnquist Åstrand
2006-04-12 12:23:29 +00:00
495cb953e6
Catch empty file case. From Tobias Stoeckmann.
Love Hörnquist Åstrand
2006-04-12 12:22:52 +00:00
fced68ddd0
use afs_ioctlnum, From Tomas Olsson <tol@it.su.se>
Love Hörnquist Åstrand
2006-04-11 08:12:29 +00:00
7faccdb5b9
x
Love Hörnquist Åstrand
2006-04-10 17:33:37 +00:00
5c4f7cec25
x
Love Hörnquist Åstrand
2006-04-10 17:15:10 +00:00
7452077a9f
(krb5_rc_resolve_full): make compile
Love Hörnquist Åstrand
2006-04-10 17:13:49 +00:00
c56cfcb861
(krb4_kt_start_seq_get_int): make compile again.
Love Hörnquist Åstrand
2006-04-10 17:10:53 +00:00
fc3afb44e0
x
Love Hörnquist Åstrand
2006-04-10 16:38:43 +00:00
5c607b8633
Try harder to get the pioctl to work via the /proc or /dev interface, OpenAFS choose to reuse the same ioctl number, while Arla didn't. Also, try new ioctl before the the old syscalls.
Love Hörnquist Åstrand
2006-04-10 16:38:22 +00:00
2eeae67af7
(make_path): make sure we return allocated memory Coverity, NetBSD CID#1892
Love Hörnquist Åstrand
2006-04-10 10:26:35 +00:00
69dda05a9c
(krb5_verify_authenticator_checksum): on protocol failure, avoid leaking memory Coverity, NetBSD CID#1900
Love Hörnquist Åstrand
2006-04-10 10:14:44 +00:00
c41e1b2980
(krb5_parse_name): remember to free realm in case of error Coverity, NetBSD CID#1883
Love Hörnquist Åstrand
2006-04-10 10:10:01 +00:00
55178a0d79
(krb5_425_conv_principal_ext2): remove memory leak in case of weird formated dns replys.
Love Hörnquist Åstrand
2006-04-10 10:02:48 +00:00
c5dd980dba
(krb5_rc_resolve_full): don't return pointer to a allocated krb5_rcache in case of error.
Love Hörnquist Åstrand
2006-04-10 09:48:42 +00:00
9be36e4522
(krb5_addlog_dest): free fn in case of error Coverity, NetBSD CID#1882
Love Hörnquist Åstrand
2006-04-10 09:41:26 +00:00
7b91fa46c7
Fix deref before NULL check, fix error handling. Coverity, NetBSD CID#2369
Love Hörnquist Åstrand
2006-04-10 09:33:15 +00:00
494ca3d6a8
(krb5_get_forwarded_creds): in_creds->client should always be set, assume so.
Love Hörnquist Åstrand
2006-04-10 09:28:15 +00:00
db048d96d6
(any_next_entry): restructure to make it easier to read Fixes Coverity, NetBSD CID#625
Love Hörnquist Åstrand
2006-04-10 09:20:13 +00:00
2a7b485275
(krb5_string_to_key_derived): deref after NULL check. Coverity NetBSD CID#2367
Love Hörnquist Åstrand
2006-04-10 08:58:53 +00:00
6b9e922298
(krb5_build_authenticator): use calloc. removed check that was never really used. Coverity NetBSD CID#2370
Love Hörnquist Åstrand
2006-04-10 08:53:21 +00:00
e45fef35e1
(afslog_uid_int): use the simpler krb5_principal_get_realm function.
Love Hörnquist Åstrand
2006-04-10 08:45:04 +00:00
5d676c4509
(_kadm5_c_get_cred_cache): handle ccache case better in case no client name was passed in. Coverity, NetBSD CID#919
Love Hörnquist Åstrand
2006-04-10 07:55:22 +00:00
86ee0aa773
(_kadm5_c_get_cred_cache): Free client principal in case of error. Coverity NetBSD CID#1908
Love Hörnquist Åstrand
2006-04-10 07:50:22 +00:00
30627ab04b
Spelling.
Love Hörnquist Åstrand
2006-04-09 18:45:18 +00:00
31b3e7004d
Check that cred != GSS_C_NO_CREDENTIAL, this is a standard conformance failure, but much better then a crash.
Love Hörnquist Åstrand
2006-04-09 18:38:13 +00:00
59aa089d03
(krb5_verify_ap_req2): make sure `ticket´ points to NULL in case of error, add error handling, use calloc.
Love Hörnquist Åstrand
2006-04-09 17:56:10 +00:00
135a36efb2
(doit): when done, close all fd in the sockets array and free it. Coverity NetBSD CID#1916
Love Hörnquist Åstrand
2006-04-09 17:45:44 +00:00
1082824558
(v4_prop_dump): close FILE handle f when done. Fixes Coverity NetBSD CID#1956
Love Hörnquist Åstrand
2006-04-09 17:41:47 +00:00
e01da67d58
(RC2_set_key): abort on erroneous input (len <= 0) size that will case out out bound indexing, and its invalid input.
Love Hörnquist Åstrand
2006-04-09 17:03:21 +00:00
cb07dc716d
x
Love Hörnquist Åstrand
2006-04-09 16:59:17 +00:00
517a78550f
Make compile again.
Love Hörnquist Åstrand
2006-04-09 16:58:57 +00:00
52d5fdf939
x
Love Hörnquist Åstrand
2006-04-07 22:23:38 +00:00
2a6831b56c
(kadmind_dispatch): case kadm_rename, free princ2 on acl check failure. Coverity, NetBSD CID#1911
Love Hörnquist Åstrand
2006-04-07 22:00:57 +00:00
5a761c7f96
(krb5_kt_ret_principal): plug a memory leak Coverity NetBSD CID#1890
Love Hörnquist Åstrand
2006-04-07 21:57:31 +00:00
5800a9f897
(main): make sure type doesn't need to be set
Love Hörnquist Åstrand
2006-04-07 21:41:14 +00:00
e3a5114857
(mit_prop_dump): close fd when done processing Coverity NetBSD CID#1955
Love Hörnquist Åstrand
2006-04-07 18:53:45 +00:00
39fbe46845
(tokey): catch warnings, free memory after use. Based on Coverity NetBSD CID#1894
Love Hörnquist Åstrand
2006-04-07 18:50:40 +00:00
dca15243a2
x
Love Hörnquist Åstrand
2006-04-07 14:01:16 +00:00
54f35ca241
(main): remove dead code. Coverity NetBSD CID#633
Love Hörnquist Åstrand
2006-04-07 14:00:57 +00:00
c7c0927da2
(rename_entry): free the right entry in the error case, From Coverity NetBSD CID#1888
Love Hörnquist Åstrand
2006-04-07 13:11:24 +00:00
2484ddfa84
x
Love Hörnquist Åstrand
2006-04-07 13:10:00 +00:00
1cb80fec51
(generate_password): memory leak in error condition case From Coverity NetBSD CID#1887
Love Hörnquist Åstrand
2006-04-07 13:09:17 +00:00
6b76beb9d8
(kt_remove): Free memory in error handling cases. From Coverity NetBSD CID#1886.
Love Hörnquist Åstrand
2006-04-07 13:06:37 +00:00
125128ed5c
use exactly six X:es with mkstemp
Johan Danielsson
2006-04-07 09:55:12 +00:00
9f7e73f7db
x
Love Hörnquist Åstrand
2006-04-04 14:19:25 +00:00
b866404406
(read_words): catch empty file case, will cause PBE (division by zero) later. From Tobias Stoeckmann.
Love Hörnquist Åstrand
2006-04-04 14:19:13 +00:00
2cd3764e7b
Split libhx509_la_SOURCES into build file and distributed files so we can avoid building prototypes for build-files.
Love Hörnquist Åstrand
2006-04-04 11:27:21 +00:00
eec31b6bad
x
Love Hörnquist Åstrand
2006-04-03 20:51:37 +00:00
569ec43582
split certificate request into pkcs10 and CRMF
Love Hörnquist Åstrand
2006-04-03 20:49:27 +00:00
c532decb46
Add nonce flag to ocsp-fetch
Love Hörnquist Åstrand
2006-04-03 18:44:35 +00:00
2eb3049463
control sending nonce
Love Hörnquist Åstrand
2006-04-03 18:44:07 +00:00
e01c6dbc48
(hx509_ocsp_request): comment on why we need to match the issuer too. (hx509_revoke_ocsp_print): more verbose printing.
Love Hörnquist Åstrand
2006-04-03 18:29:37 +00:00
b3a92619c0
(request_create): store the request in a file, no in bitbucket.
Love Hörnquist Åstrand
2006-04-03 17:10:30 +00:00
0fcc9f43ac
(verify_ocsp): spelling.
Love Hörnquist Åstrand
2006-04-03 15:30:46 +00:00
1e0aaa115c
(hx509_ci_print_names): make it print issuer too.
Love Hörnquist Åstrand
2006-04-03 15:25:28 +00:00
86f05f039c
expose print_cert_subject internally
Love Hörnquist Åstrand
2006-04-03 15:24:58 +00:00
ae6e238600
Add ocsp_print.
Love Hörnquist Åstrand
2006-04-03 15:23:08 +00:00
3973182c99
New command "ocsp-print".
Love Hörnquist Åstrand
2006-04-03 15:22:44 +00:00
64e02c3d8d
Include <hex.h>.
Love Hörnquist Åstrand
2006-04-03 15:22:17 +00:00
76a4c45ce5
(verify_ocsp): require issuer to match too. (free_ocsp): new function (hx509_revoke_ocsp_print): new function, print ocsp reply
Love Hörnquist Åstrand
2006-04-03 15:21:24 +00:00
890533d4f6
build CRMF files
Love Hörnquist Åstrand
2006-04-03 12:18:46 +00:00
253d40df60
x
Love Hörnquist Åstrand
2006-04-03 12:17:46 +00:00
339a7ab662
needed for cert request test
Love Hörnquist Åstrand
2006-04-03 12:17:20 +00:00