diff --git a/src/sso/sso.h b/src/sso/sso.h
index a43c9130cf99102a4745fa93d59e8f53d1a563eb..9f0beb3c084fb3de2388e6f0ebb21c47ee42df14 100644
--- a/src/sso/sso.h
+++ b/src/sso/sso.h
@@ -81,9 +81,9 @@ int sso_ticket_sign(sso_ticket_t t, const unsigned char *secret_key, char *out,
  *
  * Note that the resulting buffers will contain binary data, not
  * NULL-terminated strings. Key sizes are constant, use the
- * SSO_PRIVATE_KEY_SIZE and SSO_SECRET_KEY_SIZE macros.
+ * SSO_PUBLIC_KEY_SIZE and SSO_SECRET_KEY_SIZE macros.
  *
- * @param[out] publicp Pointer to a buffer of at least SSO_PRIVATE_KEY_SIZE
+ * @param[out] publicp Pointer to a buffer of at least SSO_PUBLIC_KEY_SIZE
  *             bytes.
  * @param[out] secretp Pointer to a buffer of at least SSO_SECRET_KEY_SIZE
  *             bytes.