diff options
-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 (); |