Check-in [d02f2af7a5]
Overview
SHA1:d02f2af7a505b6e74ce4d103cd4a85ffbd2f3320
Date: 2017-07-17 13:56:29
User: rkeene
Comment:Corrected typo causing debug builds to fail
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2017-07-17
13:56
[0c7c510048] Leaf: Updated to treat returning a zero-length signed message as an error (user: rkeene, tags: trunk)
13:56
[d02f2af7a5] Corrected typo causing debug builds to fail (user: rkeene, tags: trunk)
2017-03-09
02:43
[21da395d74] ChromeOS Release 9 (user: rkeene, tags: trunk)
Changes

Modified asn1-x509.c from [589998a327] to [bc9c145e70].

140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
}

static int asn1_x509_read_object(unsigned char *buf, size_t buflen, struct x509_object *outbuf) {
	int read_ret;

	read_ret = asn1_x509_read_asn1_object(buf, buflen, &outbuf->wholething, NULL);
	if (read_ret != 0) {
		CACKEY_DEBUG_PRINTF("Failed at reading the contents from the wrapper")

		return(-1);
	}

	read_ret = asn1_x509_read_asn1_object(outbuf->wholething.contents, outbuf->wholething.size, &outbuf->certificate, NULL);
	if (read_ret != 0) {
		CACKEY_DEBUG_PRINTF("Failed at reading the certificate from the contents");







|







140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
}

static int asn1_x509_read_object(unsigned char *buf, size_t buflen, struct x509_object *outbuf) {
	int read_ret;

	read_ret = asn1_x509_read_asn1_object(buf, buflen, &outbuf->wholething, NULL);
	if (read_ret != 0) {
		CACKEY_DEBUG_PRINTF("Failed at reading the contents from the wrapper");

		return(-1);
	}

	read_ret = asn1_x509_read_asn1_object(outbuf->wholething.contents, outbuf->wholething.size, &outbuf->certificate, NULL);
	if (read_ret != 0) {
		CACKEY_DEBUG_PRINTF("Failed at reading the certificate from the contents");