android-tools: Add protoype declaration for b64_pton

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2022-08-31 20:10:21 -07:00
parent b487187a93
commit 31e19562f6
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,14 @@
Add protoype declaration for b64_pton
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/adb/adb_auth_client.c
+++ b/adb/adb_auth_client.c
@@ -29,6 +29,7 @@
#define TRACE_TAG TRACE_AUTH
+extern int b64_pton(const char* src, uint8_t* target, size_t targsize);
struct adb_public_key {
struct listnode node;

View File

@ -39,6 +39,7 @@ SRC_URI = " \
file://core/0011-Remove-bionic-specific-calls.patch;patchdir=system/core \
file://core/0012-Fix-implicit-declaration-of-stlcat-strlcopy-function.patch;patchdir=system/core \
file://core/adb_libssl_11.diff;patchdir=system/core \
file://core/b64_pton_function_decl.patch;patchdir=system/core \
file://core/0013-adb-Support-riscv64.patch;patchdir=system/core \
file://core/0014-add-u3-ss-descriptor-support-for-adb.patch;patchdir=system/core \
file://core/0015-libsparse-Split-off-most-of-sparse_file_read_normal-.patch;patchdir=system/core \