summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-11-27 20:02:43 +0100
committerAndreas Schneider <asn@cryptomilk.org>2013-11-27 22:54:13 +0100
commit68c3c26029f4a1256e9f37ce939ce7c207ea1628 (patch)
tree8cd217138a47a06b0e087915673ecaa0181febaf /src
parentfd185acbea7bf971c154cdb028e4951c6dbba369 (diff)
downloadlibssh-68c3c26029f4a1256e9f37ce939ce7c207ea1628.tar.gz
libssh-68c3c26029f4a1256e9f37ce939ce7c207ea1628.tar.xz
libssh-68c3c26029f4a1256e9f37ce939ce7c207ea1628.zip
pki_gcrypt: Add pki_private_key_to_pem() stub.
Diffstat (limited to 'src')
-rw-r--r--src/pki_gcrypt.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pki_gcrypt.c b/src/pki_gcrypt.c
index a44ed73a..2ca5e873 100644
--- a/src/pki_gcrypt.c
+++ b/src/pki_gcrypt.c
@@ -591,6 +591,19 @@ int pki_key_ecdsa_nid_from_name(const char *name)
}
#endif
+ssh_string pki_private_key_to_pem(const ssh_key key,
+ const char *passphrase,
+ ssh_auth_callback auth_fn,
+ void *auth_data)
+{
+ (void) key;
+ (void) passphrase;
+ (void) auth_fn;
+ (void) auth_data;
+
+ return NULL;
+}
+
ssh_key pki_private_key_from_base64(const char *b64_key,
const char *passphrase,
ssh_auth_callback auth_fn,