Commit Graph

  • 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
  • 53da7dba23 Add printing ocsp replys Love Hörnquist Åstrand 2006-04-03 18:32:57 +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
  • 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