Check-in [cfd166f381]
Overview
Comment:Removed spurious variables
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: cfd166f381ead2bb3e14a23291c8f0239d5cbaa9
User & Date: rkeene on 2012-05-09 16:37:36
Other Links: manifest | tags
Context
2012-05-09
16:38
Updated to print attribute type as string in lookups

Updated to include public key objects for DoD certificates check-in: 638b5f52a7 user: rkeene tags: trunk

16:37
Removed spurious variables check-in: cfd166f381 user: rkeene tags: trunk
16:22
Added support for CKO_PUBLIC_KEY objects check-in: 30d36fdd77 user: rkeene tags: trunk
Changes

Modified asn1-x509.c from [4068b9a871] to [34b943034f].

201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
		*outbuf = x509.serial_number.asn1rep;
	}

	return(x509.serial_number.asn1rep_len);
}

static ssize_t x509_to_pubkey(void *x509_der_buf, size_t x509_der_buf_len, void **outbuf) {
	struct asn1_object null, pubkey, modulus, exponent;
	struct x509_object x509;
	int read_ret;

	read_ret = asn1_x509_read_object(x509_der_buf, x509_der_buf_len, &x509);
	if (read_ret != 0) {
		return(-1);
	}







<







201
202
203
204
205
206
207

208
209
210
211
212
213
214
		*outbuf = x509.serial_number.asn1rep;
	}

	return(x509.serial_number.asn1rep_len);
}

static ssize_t x509_to_pubkey(void *x509_der_buf, size_t x509_der_buf_len, void **outbuf) {

	struct x509_object x509;
	int read_ret;

	read_ret = asn1_x509_read_object(x509_der_buf, x509_der_buf_len, &x509);
	if (read_ret != 0) {
		return(-1);
	}