summaryrefslogtreecommitdiff
path: root/lib/crypto-backend.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-10-24 08:30:06 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-11-04 02:56:25 +0100
commita57ff585661bcef9b6a8ce1a59ea10834ff92f91 (patch)
tree8ab7401d7864b3ae7457d424229c6a1725b67822 /lib/crypto-backend.h
parent34d25befa62ceba5af915f25393c5f62093d4591 (diff)
downloadgnutls-a57ff585661bcef9b6a8ce1a59ea10834ff92f91.tar.gz
doc: explicitly state that rng self_test mustn't require rng initialization
Diffstat (limited to 'lib/crypto-backend.h')
-rw-r--r--lib/crypto-backend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto-backend.h b/lib/crypto-backend.h
index 6f4b743b88..1619bf0fa5 100644
--- a/lib/crypto-backend.h
+++ b/lib/crypto-backend.h
@@ -77,7 +77,7 @@ typedef struct gnutls_crypto_rnd {
int (*rnd) (void *ctx, int level, void *data, size_t datasize);
void (*rnd_refresh) (void *ctx);
void (*deinit) (void *ctx);
- int (*self_test) (void);
+ int (*self_test) (void); /* this should not require rng initialization */
} gnutls_crypto_rnd_st;
typedef void *bigint_t;