summaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/crypto_digest.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypt_ops/crypto_digest.h')
-rw-r--r--src/lib/crypt_ops/crypto_digest.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/crypt_ops/crypto_digest.h b/src/lib/crypt_ops/crypto_digest.h
index 9facf3b981..59713d2b9f 100644
--- a/src/lib/crypt_ops/crypto_digest.h
+++ b/src/lib/crypt_ops/crypto_digest.h
@@ -51,6 +51,9 @@ typedef enum {
/** Structure used to temporarily save the a digest object. Only implemented
* for SHA1 digest for now. */
typedef struct crypto_digest_checkpoint_t {
+#ifdef ENABLE_NSS
+ unsigned int bytes_used;
+#endif
uint8_t mem[DIGEST_CHECKPOINT_BYTES];
} crypto_digest_checkpoint_t;