summaryrefslogtreecommitdiff
path: root/lib/crypto-backend.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-10-31 11:40:12 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-11-04 02:54:06 +0100
commitfea6c3ca8f869752f4f79f724fbb8736e961fd88 (patch)
tree519158051feca47e579a3701921f8de6471d0b1c /lib/crypto-backend.h
parentaa204320cc0abbf038988034671821a4a23eccd9 (diff)
downloadgnutls-fea6c3ca8f869752f4f79f724fbb8736e961fd88.tar.gz
_gnutls_rnd_check: call _rnd_system_entropy_check directly
Diffstat (limited to 'lib/crypto-backend.h')
-rw-r--r--lib/crypto-backend.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/crypto-backend.h b/lib/crypto-backend.h
index 3d979d84ec..6f4b743b88 100644
--- a/lib/crypto-backend.h
+++ b/lib/crypto-backend.h
@@ -73,8 +73,7 @@ typedef struct {
} gnutls_crypto_digest_st;
typedef struct gnutls_crypto_rnd {
- int (*init) (void **ctx);
- int (*check) (void **ctx);
+ int (*init) (void **ctx); /* called prior to first usage of randomness */
int (*rnd) (void *ctx, int level, void *data, size_t datasize);
void (*rnd_refresh) (void *ctx);
void (*deinit) (void *ctx);