diff options
Diffstat (limited to 'src/libstrongswan/credentials')
-rw-r--r-- | src/libstrongswan/credentials/builder.c | 1 | ||||
-rw-r--r-- | src/libstrongswan/credentials/builder.h | 2 | ||||
-rw-r--r-- | src/libstrongswan/credentials/cred_encoding.h | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/src/libstrongswan/credentials/builder.c b/src/libstrongswan/credentials/builder.c index 6710dfb54..4e52272a7 100644 --- a/src/libstrongswan/credentials/builder.c +++ b/src/libstrongswan/credentials/builder.c @@ -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", diff --git a/src/libstrongswan/credentials/builder.h b/src/libstrongswan/credentials/builder.h index 5ab462fa8..103b823c0 100644 --- a/src/libstrongswan/credentials/builder.h +++ b/src/libstrongswan/credentials/builder.h @@ -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 */ diff --git a/src/libstrongswan/credentials/cred_encoding.h b/src/libstrongswan/credentials/cred_encoding.h index 41481f376..27a887f27 100644 --- a/src/libstrongswan/credentials/cred_encoding.h +++ b/src/libstrongswan/credentials/cred_encoding.h @@ -87,6 +87,8 @@ enum cred_encoding_type_t { PRIVKEY_PGP, /** DNSKEY encoding */ PUBKEY_DNSKEY, + /** SSHKEY encoding (Base64) */ + PUBKEY_SSHKEY, /** ASN.1 DER encoded certificate */ CERT_ASN1_DER, |