summaryrefslogtreecommitdiff
path: root/lib/extras
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-12-28 16:24:18 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-12-28 16:44:44 +0200
commit76f2856a51f4cae238aa3117e03ac7a8204dff9f (patch)
tree70948a63ddc3669fe3d06b6958c8f0401e8e0abb /lib/extras
parent78bf1de9b111485037388893bf2ccc766f8d167d (diff)
downloadgnutls-76f2856a51f4cae238aa3117e03ac7a8204dff9f.tar.gz
gnutls_atfork was no longer in use.
Diffstat (limited to 'lib/extras')
-rw-r--r--lib/extras/randomart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extras/randomart.c b/lib/extras/randomart.c
index c2ce08f4b0..cf8d72edf7 100644
--- a/lib/extras/randomart.c
+++ b/lib/extras/randomart.c
@@ -74,7 +74,7 @@ key_fingerprint_randomart (uint8_t * dgst_raw, u_int dgst_raw_len,
uint8_t field[FLDSIZE_X][FLDSIZE_Y];
u_int i, b;
int x, y;
- const size_t len = sizeof(augmentation_string) - 1;
+ const size_t len = sizeof(augmentation_string) - 2;
retval = gnutls_calloc (1, (FLDSIZE_X + 3) * (FLDSIZE_Y + 2));
if (retval == NULL)