summaryrefslogtreecommitdiff
path: root/lib/gnutls_errors.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2004-08-16 19:10:30 +0000
committerSimon Josefsson <simon@josefsson.org>2004-08-16 19:10:30 +0000
commitf960d38c20612907b89b6f8c52c35f1c81d5e9f7 (patch)
tree33de0f18c42cf65bd6a6bbcf420103ccdb58acbb /lib/gnutls_errors.c
parent8898bf167f4a15717536ebf00e86e2747bc486bc (diff)
downloadgnutls-f960d38c20612907b89b6f8c52c35f1c81d5e9f7.tar.gz
Move randomness calls to generic crypto API.
Implement randomness for libgcrypt and nettle wrappers.
Diffstat (limited to 'lib/gnutls_errors.c')
-rw-r--r--lib/gnutls_errors.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_errors.c b/lib/gnutls_errors.c
index 66da4496f4..6edc98eba6 100644
--- a/lib/gnutls_errors.c
+++ b/lib/gnutls_errors.c
@@ -1,4 +1,5 @@
/*
+ * Copyright (C) 2004 Simon Josefsson
* Copyright (C) 2000,2001,2002,2003 Nikos Mavroyanopoulos
* Copyright (C) 2004 Free Software Foundation
*
@@ -228,6 +229,7 @@ static gnutls_error_entry error_algorithms[] = {
ERROR_ENTRY("The Message Authentication Code verification failed.",
GNUTLS_E_MAC_VERIFY_FAILED, 1),
ERROR_ENTRY("Some constraint limits were reached.", GNUTLS_E_CONSTRAINT_ERROR, 1),
+ ERROR_ENTRY("Failed to acquire random data.", GNUTLS_E_RANDOM_FAILED, 1),
{NULL, NULL, 0, 0}
};