summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-02-13 12:23:04 +0000
committerSimon Josefsson <simon@josefsson.org>2007-02-13 12:23:04 +0000
commitef1c3053c417d2ed02d1038bfb9b5c1eb1f424f9 (patch)
tree02c65d2ba4950215f7a6a327b0ffc7cdf83359bb /lib
parent282b7d5ef356ea7848ff9f1b914ebb437ede9404 (diff)
downloadgnutls-ef1c3053c417d2ed02d1038bfb9b5c1eb1f424f9.tar.gz
We don't support inherited DSA parameters.
Diffstat (limited to 'lib')
-rw-r--r--lib/x509/mpi.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/x509/mpi.c b/lib/x509/mpi.c
index c98a0e394e..a26f092aba 100644
--- a/lib/x509/mpi.c
+++ b/lib/x509/mpi.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003, 2004, 2005 Free Software Foundation
+ * Copyright (C) 2003, 2004, 2005, 2007 Free Software Foundation
*
* Author: Nikos Mavroyanopoulos
*
@@ -272,6 +272,11 @@ _gnutls_x509_crt_get_mpis (gnutls_x509_crt_t cert,
"tbsCertificate.subjectPublicKeyInfo.algorithm.parameters",
str, &len);
+ /* FIXME: If the parameters are not included in the certificate
+ * then the issuer's parameters should be used. This is not
+ * done yet.
+ */
+
if (result != ASN1_SUCCESS)
{
gnutls_assert ();