X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=keystructs.h;h=af909f7c12aec4b51f136eabe8ac5a9256e6f258;hb=4b6032dbfb20e041043cfa0b6b84145f49a98a11;hp=9ec6ebf6aaab8aca9ed9094fa9addd0d56d0f718;hpb=6df51fef2960f533a741fb7290867387ed3fbba5;p=onak.git diff --git a/keystructs.h b/keystructs.h index 9ec6ebf..af909f7 100644 --- a/keystructs.h +++ b/keystructs.h @@ -26,8 +26,12 @@ #include "ll.h" -/* v3 MD5 fingerprint is 16 characters, v4 SHA-1 fingerprint is 20 */ -#define MAX_FINGERPRINT_LEN 20 +/* + * v3 MD5 fingerprint is 16 bytes + * v4 SHA-1 fingerprint is 20 + * v5 SHA2-256 fingerprint is 32 + */ +#define MAX_FINGERPRINT_LEN 32 /** * @brief Stores the fingerprint of an OpenPGP key