ChangeLog 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. 2006-11-11 Marcus Brinkmann <marcus@g10code.de>
  2. * src/error-mapping.c (scute_gpg_err_to_ck): Report error on debug
  3. stream.
  4. * src/slots.c (add_object): New function.
  5. (slot_init): Rewritten using add_object.
  6. * src/gpgsm.c: Include "gpgsm.h".
  7. (struct search): Replace members ATTRP, ATTR_COUNTP, PRV_ATTRP,
  8. PRV_ATTR_COUNTP by CERT_GET_CB, HOOK.
  9. (search_cb): Rewritten to add all certificates for a certain key
  10. (scute_gpgsm_get_cert): Take a callback function instead of
  11. attribute pointers.
  12. * gpgsm.h (scute_gpgsm_get_cert): Adjust prototype.
  13. and also the certificate chain.
  14. * src/cert.h (scute_gpgsm_search_certs_by_fpr): New prototype.
  15. (struct cert): New member chain_id.
  16. * src/cert-gpgsm.c (struct search_ctx_by_grip): Rename to ...
  17. (struct search_ctx): ... this. Rename field GRIP to PATTERN, and
  18. add new field FIELD.
  19. (search_certs_by_grip): Rename function to ...
  20. (search_certs): ... this.
  21. (scute_gpgsm_search_certs_by_fpr): Change user of the above.
  22. (scute_gpgsm_search_certs_by_fpr): New function.
  23. (search_certs_line): Store chain ID.
  24. 2006-11-07 Marcus Brinkmann <marcus@g10code.de>
  25. * src/p11-gettokeninfo.c (C_GetTokenInfo): Fix assignment.
  26. 2006-11-06 Marcus Brinkmann <marcus@g10code.de>
  27. * doc/website/format/web.css: Set margin to 0.
  28. * configure.ac (AC_CONFIG_FILES): Add doc/Makefile.
  29. Makefile.am (SUBDIRS): Add doc/.
  30. doc/, doc/website/, doc/website/format: New directories.
  31. doc/Makefile.am, doc/website/index.xhtml,
  32. doc/website/documentation.xhtml, doc/website/download.xhtml,
  33. doc/website/contact.xhtml, doc/website/format/web.css,
  34. doc/website/format/scute-logo.svg,
  35. doc/website/format/scute-border.jpg: New files.
  36. 2006-10-30 Marcus Brinkmann <marcus@g10code.de>
  37. * configure.ac (PACKAGE, VERSION): Define these variables.
  38. * src/Makefile.am (libscute_la_CPPFLAGS): Fix include path for
  39. VPATH builds.
  40. * configure.ac (VERSION_MAJOR, VERSION_MINOR): New variable
  41. definitions.
  42. * src/gpgsm.h: Fix syntax error.
  43. * src/table.c, src/table.h: Rewritten.
  44. * src/slots.c: Reorganized and rewritten to use the new table
  45. interface. Include gpgsm.h.
  46. * src/p11-signinit.c, src/p11-sign.c, src/p11-getslotlist.c,
  47. src/p11-getsessioninfo.c, src/p11-getmechanismlist.c,
  48. src/p11-getattributevalue.c, src/p11-findobjectsinit.c,
  49. src/p11-findobjectsfinal.c, src/p11-findobjects.c,
  50. src/p11-closesession.c: Adjust callers.
  51. 2006-10-26 Marcus Brinkmann <marcus@g10code.de>
  52. * src/settings.h: Require VERSION_MAJOR and VERSION_MINOR to be
  53. defined.
  54. * src/p11-getinfo.c (CRYPTOKI_VERSION_MAJOR,
  55. CRYPTOKI_VERSION_MINOR): Move macros to ...
  56. * src/cryptoki.h (CRYPTOKI_VERSION_MAJOR, CRYPTOKI_VERSION_MINOR):
  57. ... here
  58. * src/gpgsm.c (gpgsm_get_cert): Rename to ...
  59. (scute_gpgsm_get_cert): ... this.
  60. * src/gpgsm.h: New file.
  61. * src/Makefile.am (libscute_la_SOURCES): Add gpgsm.h.
  62. * src/slots.c (gpgsm_get_cert): Remove prototype.
  63. (slots_update_slot): Call scute_gpgsm_get_cert, not gpgsm_get_cert.
  64. * src/error-mapping.c (scute_gpg_err_to_ck): Map GPG_ERR_NO_AGENT
  65. to CKR_GENERAL_ERROR.
  66. * src/agent.h (struct agent_card_info_s): Remove member error.
  67. Prefix external functions with scute_ if not already done so, also
  68. for callers.
  69. * src/agent.c: Include <stdarg.h>. Replace one-letter variable
  70. names by proper ones. Replace assuan_error_t with gpg_error_t
  71. everywhere.
  72. (agent_connect, agent_simple_cmd, agent_configure): New functions.
  73. (scute_agent_initialize): Use these new functions.
  74. ing of common code. Lots of cleanups.
  75. (scute_agent_finalize): Clear agent_ctx. Add debug message.
  76. 2006-10-13 Werner Koch <wk@g10code.com>
  77. * src/cert-gpgsm.c (MAX_LINE_LEN): Increased.
  78. * src/locking.c: Include string.h for memset declaration.
  79. * configure.ac: New option --disable-optimization.
  80. 2006-08-02 Marcus Brinkmann <marcus@g10code.de>
  81. * Initial version.
  82. Copyright 2006 g10 Code GmbH
  83. This file is free software; as a special exception the author gives
  84. unlimited permission to copy and/or distribute it, with or without
  85. modifications, as long as this notice is preserved.
  86. This file is distributed in the hope that it will be useful, but
  87. WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
  88. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.