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

	certificate = identity->certificate;
	certificate_len = identity->certificate_len;

	if (certificate_len < 0) {







|







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

	certificate = identity->certificate;
	certificate_len = identity->certificate_len;

	if (certificate_len < 0) {