Love Hörnquist Åstrand
890533d4f6
build CRMF files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 12:18:46 +00:00
Love Hörnquist Åstrand
253d40df60
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 12:17:46 +00:00
Love Hörnquist Åstrand
339a7ab662
needed for cert request test
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 12:17:20 +00:00
Love Hörnquist Åstrand
137496caa9
adapt to rename of pkcs10-create to request-create
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 07:56:34 +00:00
Love Hörnquist Åstrand
b630b37558
Rename pkcs10-create to request-create
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 07:55:13 +00:00
Love Hörnquist Åstrand
66fce528ed
Avoid crashing on bad input.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 07:45:48 +00:00
Love Hörnquist Åstrand
dad83f50d7
(pkcs10_create): use opt->subject_string
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:33:29 +00:00
Love Hörnquist Åstrand
c32b846d53
Add pkcs10-create --subject
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:32:57 +00:00
Love Hörnquist Åstrand
2f417fa784
Add test_req to commands
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:32:10 +00:00
Love Hörnquist Åstrand
ccdec7c9ae
Test for pkcs10 commands.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:31:42 +00:00
Love Hörnquist Åstrand
10dbe873a1
make rsa_private_key2SPKI static.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:28:26 +00:00
Love Hörnquist Åstrand
aeeed9cab8
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:18:50 +00:00
Love Hörnquist Åstrand
49cd3f86ca
Implement i2d_RSAPublicKey
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:17:30 +00:00
Love Hörnquist Åstrand
b93187f3c7
Add i2d_RSAPublicKey
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:17:01 +00:00
Love Hörnquist Åstrand
83a5e521ed
(hx509_parse_name): new function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:14:28 +00:00
Love Hörnquist Åstrand
1e9fea9d39
(pkcs10_create): implement
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:13:48 +00:00
Love Hörnquist Åstrand
d612a40b89
(pkcs10-create): Add arguments to
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:12:14 +00:00
Love Hörnquist Åstrand
6a6823b916
Add _hx509_private_key2SPKI and support functions (only support RSA for now).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:10:34 +00:00
Love Hörnquist Åstrand
5de3822ce3
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:21:07 +00:00
Love Hörnquist Åstrand
72a5513806
Remove a delta from last revision that should have gone in later.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16966 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:20:45 +00:00
Love Hörnquist Åstrand
6a07652c01
Add pkcs10-create command.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:15:40 +00:00
Love Hörnquist Åstrand
3a78c8c3a4
Add hx509_request.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:15:14 +00:00
Love Hörnquist Åstrand
1a1066f5b7
more stuff
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:14:44 +00:00
Love Hörnquist Åstrand
cd4cbf630e
Add req.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:13:55 +00:00
Love Hörnquist Åstrand
f2be3565f5
Create certificate requests, prototype converts the request in a pkcs10 packet.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:13:30 +00:00
Love Hörnquist Åstrand
2a5793e1f2
Add pkcs10_create
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 20:12:32 +00:00
Love Hörnquist Åstrand
d64862d6fa
(hx509_name_copy): new function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 18:12:46 +00:00
Love Hörnquist Åstrand
d9b82bea73
fix spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 10:32:20 +00:00
Love Hörnquist Åstrand
c1ce715df2
(send_and_recv_http): don't expose freed pointer, found by IBM checker.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16957 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:32:03 +00:00
Love Hörnquist Åstrand
529acecb2b
(krb5_rd_cred): don't expose freed pointer, found by IBM checker.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:27:33 +00:00
Love Hörnquist Åstrand
03f05a7a6e
(krb5_make_addrport): clear return value on error, found by IBM checker.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:17:31 +00:00
Love Hörnquist Åstrand
8796c7d7c8
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:13:12 +00:00
Love Hörnquist Åstrand
08f8270867
(get_mic*)_: make sure message_token is cleaned on error, found by IBM checker.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:12:52 +00:00
Love Hörnquist Åstrand
19d2b32265
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:10:33 +00:00
Love Hörnquist Åstrand
2740149d18
(wrap*): Reset output_buffer on error.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:10:03 +00:00
Love Hörnquist Åstrand
dd8e66433c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:57:55 +00:00
Love Hörnquist Åstrand
b6fdc26556
(check_addresses): treat netbios as no addresses
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:54:38 +00:00
Love Hörnquist Åstrand
2211af38b6
_kdc_check_flags takes hdb_entry_ex
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:54:37 +00:00
Love Hörnquist Åstrand
b3f8381a4d
(_kdc_check_flags): make it take hdb_entry_ex to avoid ?:'s at callers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:52:32 +00:00
Love Hörnquist Åstrand
3dfde09cb0
Avoid using free memory, found by IBM checker.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:39:54 +00:00
Love Hörnquist Åstrand
c857bdbb07
(expand_realm): avoid passing NULL to strlen, found by IBM checker.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:36:45 +00:00
Love Hörnquist Åstrand
1305bbe9d5
(krb5_rd_cred): avoid a memory leak on malloc failure, found by IBM checker.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:31:10 +00:00
Love Hörnquist Åstrand
d579ee0dc9
(_krb5_krbhost_info_move): replace a strcpy with a memcpy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:28:42 +00:00
Love Hörnquist Åstrand
4fd7055bdf
(get_cell_and_realm): plug a memory leak, found by IBM checker.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16942 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:24:52 +00:00
Love Hörnquist Åstrand
4b2323bd43
(fkt_next_entry_int): remove a dereferencing NULL pointer, found by
...
IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16941 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:22:33 +00:00
Love Hörnquist Åstrand
fd1ea1cc54
(init_creds_init_as_req): in AS-REQ the cname must always be given,
...
don't avoid that fact and remove a cname == NULL case. Plugs a memory
leak found by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:20:15 +00:00
Love Hörnquist Åstrand
0c29fd2ed1
(default_s2k_func): avoid exposing free-ed memory on error. Found by
...
IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:10:35 +00:00
Love Hörnquist Åstrand
3abd33be22
(_krb5_get_init_creds_opt_copy): use calloc to avoid uninitialized
...
memory problem.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:08:30 +00:00
Love Hörnquist Åstrand
6d5788be42
(krb5_copy_data): avoid exposing free-ed memory on error. Found by IBM checker.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:06:07 +00:00
Love Hörnquist Åstrand
a699632a9e
(fcc_gen_new): fix a use after free, found by IBM checker.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:04:37 +00:00