summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-09-25 07:12:23 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-09-25 07:12:23 +0000
commit5224df4db84454abfcf8032349bb8e7b1fa17b91 (patch)
tree25124b70e6d86dc4d6bc35b1bb356961ab5da48a
parentf0a8a3bcf98970c78565c8cb60a50b5b0e057501 (diff)
downloadgnutls-5224df4db84454abfcf8032349bb8e7b1fa17b91.tar.gz
*** empty log message ***
-rw-r--r--NEWS2
-rw-r--r--configure.in2
-rw-r--r--lib/auth_rsa.c6
-rw-r--r--lib/gnutls_cert.c4
4 files changed, 11 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 6da53b2c67..bffe27d461 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-Version 0.5.8
+Version 0.5.8 (25/09/2002)
- Updated documentation.
- Added gnutls_record_get_direction() which replaces the obsolete
gnutls_handshake_get_direction().
diff --git a/configure.in b/configure.in
index fc319f6402..508935832f 100644
--- a/configure.in
+++ b/configure.in
@@ -341,9 +341,9 @@ AC_SUBST(LIBGNUTLS_EXTRA_CFLAGS)
if test $ac_cv_c_compiler_gnu != no; then
if test x$opt_profiler_mode = xyes; then
- CFLAGS="${CFLAGS} `fc-config --cflags`"
AC_CHECK_PROG(FC_OK, fc-config, yes, no)
if test x$FC_OK = xyes; then
+ CFLAGS="${CFLAGS} `fc-config --cflags`"
LIBS="$LIBS `fc-config --libs`"
else
AC_MSG_WARN(***
diff --git a/lib/auth_rsa.c b/lib/auth_rsa.c
index 84a2f08317..bd1a7fda00 100644
--- a/lib/auth_rsa.c
+++ b/lib/auth_rsa.c
@@ -183,7 +183,11 @@ const gnutls_certificate_credentials cred;
gnutls_assert();
return GNUTLS_E_NO_TEMPORARY_RSA_PARAMS;
}
-
+
+ /* In the export case, we do use temporary RSA params
+ * of 512 bits size. The params in the certificate are
+ * used to sign this temporary stuff.
+ */
*params_size = RSA_PRIVATE_PARAMS;
*params = cred->rsa_params->params;
diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c
index 0704d7ad2b..3666d1562b 100644
--- a/lib/gnutls_cert.c
+++ b/lib/gnutls_cert.c
@@ -101,6 +101,10 @@ void _gnutls_free_cert(gnutls_cert cert)
* This structure is complex enough to manipulate directly thus
* this helper function is provided in order to free (deallocate)
* the structure.
+ *
+ * This function does not free any temporary parameters associated
+ * with this structure (ie RSA and DH parameters are not freed by
+ * this function).
**/
void gnutls_certificate_free_credentials(gnutls_certificate_credentials sc)
{