aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/pgp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluto/pgp.h')
-rw-r--r--src/pluto/pgp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pluto/pgp.h b/src/pluto/pgp.h
index 418567b25..4519022e4 100644
--- a/src/pluto/pgp.h
+++ b/src/pluto/pgp.h
@@ -15,11 +15,14 @@
#ifndef _PGP_H
#define _PGP_H
+#include <crypto/hashers/hasher.h>
+
#include "pkcs1.h"
+
/*
* Length of PGP V3 fingerprint
*/
-#define PGP_FINGERPRINT_SIZE MD5_DIGEST_SIZE
+#define PGP_FINGERPRINT_SIZE HASH_SIZE_MD5
typedef char fingerprint_t[PGP_FINGERPRINT_SIZE];