137496caa9
adapt to rename of pkcs10-create to request-create
Love Hörnquist Åstrand
2006-04-03 07:56:34 +00:00
b630b37558
Rename pkcs10-create to request-create
Love Hörnquist Åstrand
2006-04-03 07:55:13 +00:00
66fce528ed
Avoid crashing on bad input.
Love Hörnquist Åstrand
2006-04-03 07:45:48 +00:00
dad83f50d7
(pkcs10_create): use opt->subject_string
Love Hörnquist Åstrand
2006-04-03 05:33:29 +00:00
c32b846d53
Add pkcs10-create --subject
Love Hörnquist Åstrand
2006-04-03 05:32:57 +00:00
2f417fa784
Add test_req to commands
Love Hörnquist Åstrand
2006-04-03 05:32:10 +00:00
ccdec7c9ae
Test for pkcs10 commands.
Love Hörnquist Åstrand
2006-04-03 05:31:42 +00:00
10dbe873a1
make rsa_private_key2SPKI static.
Love Hörnquist Åstrand
2006-04-03 05:28:26 +00:00
aeeed9cab8
x
Love Hörnquist Åstrand
2006-04-03 05:18:50 +00:00
49cd3f86ca
Implement i2d_RSAPublicKey
Love Hörnquist Åstrand
2006-04-03 05:17:30 +00:00
b93187f3c7
Add i2d_RSAPublicKey
Love Hörnquist Åstrand
2006-04-03 05:17:01 +00:00
83a5e521ed
(hx509_parse_name): new function.
Love Hörnquist Åstrand
2006-04-03 05:14:28 +00:00
1e9fea9d39
(pkcs10_create): implement
Love Hörnquist Åstrand
2006-04-03 05:13:48 +00:00
d612a40b89
(pkcs10-create): Add arguments to
Love Hörnquist Åstrand
2006-04-03 05:12:14 +00:00
6a6823b916
Add _hx509_private_key2SPKI and support functions (only support RSA for now).
Love Hörnquist Åstrand
2006-04-03 05:10:34 +00:00
5de3822ce3
x
Love Hörnquist Åstrand
2006-04-02 20:21:07 +00:00
72a5513806
Remove a delta from last revision that should have gone in later.
Love Hörnquist Åstrand
2006-04-02 20:20:45 +00:00
6a07652c01
Add pkcs10-create command.
Love Hörnquist Åstrand
2006-04-02 20:15:40 +00:00
3a78c8c3a4
Add hx509_request.
Love Hörnquist Åstrand
2006-04-02 20:15:14 +00:00
1a1066f5b7
more stuff
Love Hörnquist Åstrand
2006-04-02 20:14:44 +00:00
cd4cbf630e
Add req.c
Love Hörnquist Åstrand
2006-04-02 20:13:55 +00:00
f2be3565f5
Create certificate requests, prototype converts the request in a pkcs10 packet.
Love Hörnquist Åstrand
2006-04-02 20:13:30 +00:00
2a5793e1f2
Add pkcs10_create
Love Hörnquist Åstrand
2006-04-02 20:12:32 +00:00
d64862d6fa
(hx509_name_copy): new function.
Love Hörnquist Åstrand
2006-04-02 18:12:46 +00:00
d9b82bea73
fix spelling
Love Hörnquist Åstrand
2006-04-02 10:32:20 +00:00
c1ce715df2
(send_and_recv_http): don't expose freed pointer, found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 02:32:03 +00:00
529acecb2b
(krb5_rd_cred): don't expose freed pointer, found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 02:27:33 +00:00
03f05a7a6e
(krb5_make_addrport): clear return value on error, found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 02:17:31 +00:00
8796c7d7c8
x
Love Hörnquist Åstrand
2006-04-02 02:13:12 +00:00
08f8270867
(get_mic*)_: make sure message_token is cleaned on error, found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 02:12:52 +00:00
19d2b32265
x
Love Hörnquist Åstrand
2006-04-02 02:10:33 +00:00
2740149d18
(wrap*): Reset output_buffer on error.
Love Hörnquist Åstrand
2006-04-02 02:10:03 +00:00
dd8e66433c
x
Love Hörnquist Åstrand
2006-04-02 01:57:55 +00:00
b6fdc26556
(check_addresses): treat netbios as no addresses
Love Hörnquist Åstrand
2006-04-02 01:54:38 +00:00
2211af38b6
_kdc_check_flags takes hdb_entry_ex
Love Hörnquist Åstrand
2006-04-02 01:54:37 +00:00
b3f8381a4d
(_kdc_check_flags): make it take hdb_entry_ex to avoid ?:'s at callers
Love Hörnquist Åstrand
2006-04-02 01:52:32 +00:00
3dfde09cb0
Avoid using free memory, found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 01:39:54 +00:00
c857bdbb07
(expand_realm): avoid passing NULL to strlen, found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 01:36:45 +00:00
1305bbe9d5
(krb5_rd_cred): avoid a memory leak on malloc failure, found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 01:31:10 +00:00
d579ee0dc9
(_krb5_krbhost_info_move): replace a strcpy with a memcpy
Love Hörnquist Åstrand
2006-04-02 01:28:42 +00:00
4fd7055bdf
(get_cell_and_realm): plug a memory leak, found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 01:24:52 +00:00
4b2323bd43
(fkt_next_entry_int): remove a dereferencing NULL pointer, found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 01:22:33 +00:00
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.
Love Hörnquist Åstrand
2006-04-02 01:20:15 +00:00
0c29fd2ed1
(default_s2k_func): avoid exposing free-ed memory on error. Found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 01:10:35 +00:00
3abd33be22
(_krb5_get_init_creds_opt_copy): use calloc to avoid uninitialized memory problem.
Love Hörnquist Åstrand
2006-04-02 01:08:30 +00:00
6d5788be42
(krb5_copy_data): avoid exposing free-ed memory on error. Found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 01:06:07 +00:00
a699632a9e
(fcc_gen_new): fix a use after free, found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 01:04:37 +00:00
4676501833
(krb5_config_vget_strings): IBM checker thought it found a memory leak, it didn't, but there was another error in the code, lets fix that instead.
Love Hörnquist Åstrand
2006-04-02 00:59:19 +00:00
657fc04cb0
(_krb5_expand_default_cc_name): plug memory leak. Found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 00:54:48 +00:00
dc2c39ab01
x
Love Hörnquist Åstrand
2006-04-02 00:52:35 +00:00
5ac7ec3e3e
(_krb5_expand_default_cc_name): avoid return pointer to freed memory in the error case. Found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 00:52:26 +00:00
4c3ff70933
(hdb_resolve): off by one, found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 00:48:26 +00:00
fc5c7ee7fd
x
Love Hörnquist Åstrand
2006-04-02 00:46:11 +00:00
3e9565a941
(hdb_generate_key_set): set ret_key_set before going into the error clause and freeing key_set. Found by IBM checker. Make sure ret == 0 after of parse error, we catch the "no entries parsed" case later.
Love Hörnquist Åstrand
2006-04-02 00:45:48 +00:00
1708cc306c
(krb5_addlog_dest): make string length match strings in strcasecmp. Found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 00:22:08 +00:00
842c64a858
x
Love Hörnquist Åstrand
2006-04-02 00:11:31 +00:00
fcfcfa06cb
(roken_gethostby): make addr_list one larger to avoid a off-by-one error. Found by IBM checker.
Love Hörnquist Åstrand
2006-04-02 00:09:28 +00:00
a8ba307302
x
Love Hörnquist Åstrand
2006-04-02 00:02:21 +00:00
e617b6330e
x
Love Hörnquist Åstrand
2006-04-02 00:02:09 +00:00
16a5f30931
Plug memory leak found by IBM checker (and try to please it).
Love Hörnquist Åstrand
2006-04-02 00:01:55 +00:00
2b6c24ce1a
fill out what do
Love Hörnquist Åstrand
2006-04-01 09:51:12 +00:00
b1d1aeacf6
add pkcs10-print
Love Hörnquist Åstrand
2006-04-01 09:48:47 +00:00
71767d72c9
Include <pkcs10_asn1.h>.
Love Hörnquist Åstrand
2006-04-01 09:48:16 +00:00
89e22ec715
Add pkcs10.asn1
Love Hörnquist Åstrand
2006-04-01 09:47:19 +00:00
345a5034c9
PKCS#10
Love Hörnquist Åstrand
2006-04-01 09:46:57 +00:00
34cb08bfde
(pkcs10_print): new function.
Love Hörnquist Åstrand
2006-04-01 09:46:32 +00:00
ca5ed993fd
x
Love Hörnquist Åstrand
2006-04-01 02:17:42 +00:00
85093fa177
test ocsp keyhash
Love Hörnquist Åstrand
2006-04-01 02:17:26 +00:00
0d9209ecbd
generate ocsp keyhash version too
Love Hörnquist Åstrand
2006-04-01 02:16:30 +00:00
feb71a9269
(load_ocsp): test that we got back a BasicReponse
Love Hörnquist Åstrand
2006-04-01 02:15:02 +00:00
3bf4bb0e77
Add asn1_id_pkix_ocsp*.
Love Hörnquist Åstrand
2006-04-01 02:11:41 +00:00
7a53af1e6a
Add HX509_QUERY_MATCH_KEY_HASH_SHA1
Love Hörnquist Åstrand
2006-04-01 02:10:24 +00:00
95d72c00e1
Support OCSPResponderID.byKey, indent.
Love Hörnquist Åstrand
2006-04-01 02:09:38 +00:00
71bbb60d93
x
Love Hörnquist Åstrand
2006-04-01 01:39:21 +00:00
ca809dc7cf
(hx509_ocsp_request): Add nonce to ocsp request.
Love Hörnquist Åstrand
2006-04-01 01:36:21 +00:00
046a67d1ea
Add nonce to ocsp request.
Love Hörnquist Åstrand
2006-04-01 01:36:04 +00:00
bf9a313b9e
x
Love Hörnquist Åstrand
2006-04-01 01:08:52 +00:00
cdc5d08112
x
Love Hörnquist Åstrand
2006-04-01 01:04:35 +00:00
89d2c7f34d
rename missing-crl to missing-revoke
Love Hörnquist Åstrand
2006-04-01 01:04:16 +00:00
002c19e076
revoked cert
Love Hörnquist Åstrand
2006-04-01 01:02:14 +00:00
396411d822
generate crl
Love Hörnquist Åstrand
2006-04-01 01:01:35 +00:00
6d47c9c790
Added crl tests
Love Hörnquist Åstrand
2006-04-01 01:00:22 +00:00
b4f2aeb697
make ca use openssl ca command so we can add ocsp tests, and regen certs
Love Hörnquist Åstrand
2006-04-01 00:41:04 +00:00
4bffd93906
Add revoked ocsp cert test
Love Hörnquist Åstrand
2006-04-01 00:37:54 +00:00
d7379e76d2
rename missing-crl to missing-revoke
Love Hörnquist Åstrand
2006-04-01 00:30:45 +00:00
16d16befdd
refactor code, fix a un-init-ed variable
Love Hörnquist Åstrand
2006-04-01 00:29:23 +00:00
84c0fd6089
rename missing-crl to missing-revoke add ocsp tests
Love Hörnquist Åstrand
2006-04-01 00:28:15 +00:00
ba70d7c12d
Plug one memory leak.
Love Hörnquist Åstrand
2006-03-31 22:26:35 +00:00
1f876a35cb
Renamed generic CRL related errors.
Love Hörnquist Åstrand
2006-03-31 22:23:30 +00:00
8e186125fa
Comments and renamed generic CRL related errors
Love Hörnquist Åstrand
2006-03-31 22:23:10 +00:00
bfbc55c6cc
Add ocsp checker.
Love Hörnquist Åstrand
2006-03-31 22:14:12 +00:00
232ad2f27a
Add id-kp-OCSPSigning
Love Hörnquist Åstrand
2006-03-31 22:12:09 +00:00
352a78dcba
add url-path argument to ocsp-fetch
Love Hörnquist Åstrand
2006-03-31 22:11:32 +00:00
1428ca8c82
implement ocsp-fetch
Love Hörnquist Åstrand
2006-03-31 22:11:05 +00:00
3495cd039b
Update ocsp-fetch.
Love Hörnquist Åstrand
2006-03-31 22:07:55 +00:00
f3b1b0858c
Use HX509_DEFAULT_OCSP_TIME_DIFF.
Love Hörnquist Åstrand
2006-03-31 22:07:26 +00:00
51fc07bc6d
Add ocsp_time_diff to hx509_context
Love Hörnquist Åstrand
2006-03-31 22:06:49 +00:00
ea0cf892aa
(_hx509_verify_signature_bitstring): new function, commonly use when checking certificates
Love Hörnquist Åstrand
2006-03-31 22:05:37 +00:00
de38a60813
(hx509_cms_envelope_1): check for internal ASN.1 encoder error
Love Hörnquist Åstrand
2006-03-31 22:04:52 +00:00
40164d5a9e
Add ocsp glue, use new _hx509_verify_signature_bitstring, add eku checking function.
Love Hörnquist Åstrand
2006-03-31 22:03:13 +00:00