]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Address misc comments
authorChristopher Hoffman <choffman@redhat.com>
Tue, 3 Jun 2025 15:13:16 +0000 (15:13 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Wed, 5 Nov 2025 13:59:35 +0000 (13:59 +0000)
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
src/client/FSCrypt.cc

index 32269b0afb9fdd39ac6210602c000e2385a8ed33..d3f162c8af2491f1c7d38e0997c0b937964e81ef 100644 (file)
@@ -42,12 +42,13 @@ using ceph::crypto::HMACSHA512;
 
 
 
-/* FIXME: this was copy pasted from common/armor.c with slight modification
+/* FIXME: Use boost or similar library to roll your own
+ * FIXME: this was copy pasted from common/armor.c with slight modification
  * as needed to use alternative translation table. Code can and should be
  * combined, but need to make sure we do it in a way that doesn't hurt
  * compiler optimizations in the general case.
  * Also relaxed decoding to make it compatible with the kernel client */
-static const char *pem_key = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+,";
+static const char pem_key[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+,";
 
 static int encode_bits(int c)
 {