diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-05-24 11:45:55 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-05-24 11:45:55 +0000 |
commit | 0e4934792302715087a7ab8884a0eebb5a34e3c4 (patch) | |
tree | e9391ea6d0ecd38074a6be2b72522743cfaa5e9e | |
parent | d513bd6dace67cbc3030bcc20d4c278a03fe8102 (diff) | |
download | gnutls-0e4934792302715087a7ab8884a0eebb5a34e3c4.tar.gz |
Use new API.
-rw-r--r-- | lib/gnutls_x509.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c index e180535588..5172cfb033 100644 --- a/lib/gnutls_x509.c +++ b/lib/gnutls_x509.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation + * Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation * * Author: Nikos Mavroyanopoulos * @@ -989,8 +989,7 @@ generate_rdn_seq (gnutls_certificate_credentials_t res) size = 0; for (i = 0; i < res->x509_ncas; i++) { - if ((ret = - _gnutls_x509_crt_get_raw_dn (res->x509_ca_list[i], &tmp)) < 0) + if ((ret = gnutls_x509_crt_get_raw_dn (res->x509_ca_list[i], &tmp)) < 0) { gnutls_assert (); return ret; @@ -1014,8 +1013,7 @@ generate_rdn_seq (gnutls_certificate_credentials_t res) for (i = 0; i < res->x509_ncas; i++) { - if ((ret = - _gnutls_x509_crt_get_raw_dn (res->x509_ca_list[i], &tmp)) < 0) + if ((ret = gnutls_x509_crt_get_raw_dn (res->x509_ca_list[i], &tmp)) < 0) { _gnutls_free_datum (&res->x509_rdn_sequence); gnutls_assert (); |