aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Kozina <okozina@redhat.com>2024-02-13 11:39:30 +0100
committerOndrej Kozina <okozina@redhat.com>2024-02-13 11:40:13 +0100
commitf681194b57c406d655e45564fb2b49f823015bc8 (patch)
treeb63d8878259eb5a42ea4ad44372a96cf0769a102
parentfdac0d7ee2301f9a2b8e9cd4229014cb6d1cb80a (diff)
downloadcryptsetup-f681194b57c406d655e45564fb2b49f823015bc8.tar.gz
Fix mistake in crypt_set_keyring_to_link documentation.
The keyring_to_link_vk parameter must be prefixed by either "%:" or "%keyring:" substrings provided caller opted for text description of the target keyring.
-rw-r--r--lib/libcryptsetup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcryptsetup.h b/lib/libcryptsetup.h
index 82d042f0..88d03bab 100644
--- a/lib/libcryptsetup.h
+++ b/lib/libcryptsetup.h
@@ -3135,7 +3135,7 @@ void crypt_safe_memzero(void *data, size_t size);
*
* @note keyring_to_link_vk may be passed in various string formats:
* It can be kernel key numeric id of existing keyring written as a string,
- * keyring name prefixed optionally be either "%:" or "%keyring:" substrings or keyctl
+ * keyring name prefixed by either "%:" or "%keyring:" substrings or keyctl
* special values for keyrings "@t", "@p", "@s" and so on. See keyctl(1) man page,
* section KEY IDENTIFIERS for more information. All other prefixes starting "%<type>:"
* are ignored.