pki: Replace BUILD_FROM_FD with passing a chunk via BUILD_BLOB
authorTobias Brunner <tobias@strongswan.org>
Tue, 22 Oct 2013 12:35:13 +0000 (14:35 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 23 Oct 2013 15:20:39 +0000 (17:20 +0200)
commit71c9565a3a4935f6da55fcf74fd8ec8aafdd3df5
treee5781e51230ebdb41b8da3c48b108f99ca5ddb2f
parent46cded2627e8796c58a5d494518a6c2ee78fe5ef
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.
src/libstrongswan/credentials/builder.c
src/libstrongswan/credentials/builder.h
src/libstrongswan/plugins/pem/pem_builder.c
src/libstrongswan/plugins/sshkey/sshkey_builder.c
src/pki/commands/issue.c
src/pki/commands/keyid.c
src/pki/commands/print.c
src/pki/commands/pub.c
src/pki/commands/req.c
src/pki/commands/self.c
src/pki/commands/verify.c