Check-in [9bed3538e1]
Overview
Comment:Corrected type-punning issue
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:9bed3538e123a906d158a22faa0f80a686445bd3
User & Date: rkeene on 2012-07-20 00:53:08
Other Links: manifest | tags
Context
2012-07-20
00:55
Updated to define _WIN32_WINNT before including windows.h anywhere check-in: 6b0275529a user: rkeene tags: trunk
00:53
Corrected type-punning issue check-in: 9bed3538e1 user: rkeene tags: trunk
2012-07-19
18:03
Added support for logging to a file using CACKEY_DEBUG_LOGFILE environment variable check-in: b9df324b66 user: rkeene tags: trunk
Changes

Modified cackey.c from [556e3f5257] to [0c7ae7a3d1].

  2692   2692    *
  2693   2693    * NOTES
  2694   2694    *     ...
  2695   2695    *
  2696   2696    */
  2697   2697   static ssize_t cackey_pcsc_identity_to_label(struct cackey_pcsc_identity *identity, unsigned char *label_buf, unsigned long label_buf_len) {
  2698   2698   	unsigned long certificate_len;
  2699         -	char *label_asn1;
         2699  +	void *label_asn1;
  2700   2700   	void *certificate;
  2701   2701   	int x509_read_ret;
  2702   2702   
  2703   2703   	certificate = identity->certificate;
  2704   2704   	certificate_len = identity->certificate_len;
  2705   2705   
  2706   2706   	if (certificate_len < 0) {