pki: Replace BUILD_FROM_FD with passing a chunk via BUILD_BLOB
This allows more than one builder to try parsing the data read from STDIN.
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
|
||||
ENUM(builder_part_names, BUILD_FROM_FILE, BUILD_END,
|
||||
"BUILD_FROM_FILE",
|
||||
"BUILD_FROM_FD",
|
||||
"BUILD_AGENT_SOCKET",
|
||||
"BUILD_BLOB",
|
||||
"BUILD_BLOB_ASN1_DER",
|
||||
|
||||
@@ -45,8 +45,6 @@ typedef void* (*builder_function_t)(int subtype, va_list args);
|
||||
enum builder_part_t {
|
||||
/** path to a file encoded in any format, char* */
|
||||
BUILD_FROM_FILE,
|
||||
/** file descriptor to read data, encoded in any format, int */
|
||||
BUILD_FROM_FD,
|
||||
/** unix socket of a ssh/pgp agent, char* */
|
||||
BUILD_AGENT_SOCKET,
|
||||
/** An arbitrary blob of data, chunk_t */
|
||||
|
||||
Reference in New Issue
Block a user