summaryrefslogtreecommitdiffstats
path: root/src/libdnssec/keystore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdnssec/keystore.h')
-rw-r--r--src/libdnssec/keystore.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libdnssec/keystore.h b/src/libdnssec/keystore.h
index 0975fa75e..a88442eaa 100644
--- a/src/libdnssec/keystore.h
+++ b/src/libdnssec/keystore.h
@@ -184,7 +184,7 @@ int dnssec_keystore_import(dnssec_keystore_t *store, const dnssec_binary_t *pem,
int dnssec_keystore_remove(dnssec_keystore_t *store, const char *id);
/*!
- * Export public and/or private key from the key store into a DNSSEC key.
+ * Export private key from the key store into a DNSSEC key.
*
* The key algorithm has to be set before calling this function.
*
@@ -194,8 +194,8 @@ int dnssec_keystore_remove(dnssec_keystore_t *store, const char *id);
*
* \return Error code, DNSSEC_EOK if successful.
*/
-int dnssec_keystore_export(dnssec_keystore_t *store, const char *id,
- dnssec_key_t *key);
+int dnssec_keystore_get_private(dnssec_keystore_t *store, const char *id,
+ dnssec_key_t *key);
/*!
* Import a DNSSEC private key into key store.