diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-02-13 12:23:04 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-02-13 12:23:04 +0000 |
commit | ef1c3053c417d2ed02d1038bfb9b5c1eb1f424f9 (patch) | |
tree | 02c65d2ba4950215f7a6a327b0ffc7cdf83359bb /lib | |
parent | 282b7d5ef356ea7848ff9f1b914ebb437ede9404 (diff) | |
download | gnutls-ef1c3053c417d2ed02d1038bfb9b5c1eb1f424f9.tar.gz |
We don't support inherited DSA parameters.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/x509/mpi.c | 7 |
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 (); |