aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/crypto.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 9ffc9934d..e1115cb85 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -639,6 +639,9 @@ int crypto_pk_private_sign(crypto_pk_env_t *env, unsigned char *from, int fromle
}
}
+/* Given a private or public key pk, put a fingerprint of the
+ * public key into fp_out.
+ */
int
crypto_pk_get_fingerprint(crypto_pk_env_t *pk, char *fp_out)
{