Check-in [af11332c35]
Overview
Comment:Handle converting from buffers which cannot be converted to byte arrays
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: af11332c357cc0cc4cad5ab1d8d1d649499a1fab
User & Date: rkeene on 2019-06-12 19:38:24
Other Links: manifest | tags
Context
2019-06-12
19:39
More work Duktape-based chrome-alike environment check-in: d73ab988ad user: rkeene tags: trunk
19:38
Handle converting from buffers which cannot be converted to byte arrays check-in: af11332c35 user: rkeene tags: trunk
2019-06-09
18:35
Minor cleanup check-in: e4e500972a user: rkeene tags: trunk
Changes

Modified build/chrome/ssh-agent.js from [393672b6c1] to [0d0e90bbfd].

89
90
91
92
93
94
95

96



97
98
99
100
101
102
103
			while (bigInt) {
				result.push(bigInt & 0xff);
				bigInt = bigInt >> 8;
			}
			result.reverse();
			break;
		case "object":

			result = Array.from(new Uint8Array(bigInt.toByteArray()));



			break;
	}

	result = cackeySSHAgentEncodeLV(result);

	return(result);
}







>
|
>
>
>







89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
			while (bigInt) {
				result.push(bigInt & 0xff);
				bigInt = bigInt >> 8;
			}
			result.reverse();
			break;
		case "object":
			if (bigInt.toByteArray) {
				result = Array.from(new Uint8Array(bigInt.toByteArray()));
			} else {
				result = Array.from(bigInt);
			}
			break;
	}

	result = cackeySSHAgentEncodeLV(result);

	return(result);
}