summaryrefslogtreecommitdiff
path: root/lib/gnutls_rsa_export.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-01-07 12:13:12 +0100
committerSimon Josefsson <simon@josefsson.org>2009-01-07 12:13:12 +0100
commit853e17f15174cded630124cc6b31798c2cd33f44 (patch)
tree4143acc1d70089f10db9f0d422bec86ab82da88e /lib/gnutls_rsa_export.c
parent73b18e6f6336324619877923ac79b31ca19b5194 (diff)
downloadgnutls-853e17f15174cded630124cc6b31798c2cd33f44.tar.gz
Fix warnings.
Diffstat (limited to 'lib/gnutls_rsa_export.c')
-rw-r--r--lib/gnutls_rsa_export.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/gnutls_rsa_export.c b/lib/gnutls_rsa_export.c
index 1ea83b7803..cf6da8e1cd 100644
--- a/lib/gnutls_rsa_export.c
+++ b/lib/gnutls_rsa_export.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2002, 2003, 2004, 2005, 2008 Free Software Foundation
+ * Copyright (C) 2002, 2003, 2004, 2005, 2008, 2009 Free Software Foundation
*
* Author: Nikos Mavrogiannopoulos
*
@@ -33,13 +33,6 @@
#include "x509/x509_int.h"
#include "debug.h"
-/* This function takes a number of bits and returns a supported
- * number of bits. Ie a number of bits that we have a prime in the
- * dh_primes structure.
- */
-
-#define MAX_SUPPORTED_BITS 512
-
/* returns e and m, depends on the requested bits.
* We only support limited key sizes.
*/