summaryrefslogtreecommitdiff
path: root/lib/x509.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-05-02 13:12:00 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-05-02 15:40:18 +0200
commit01db1537f116b7fd24fa57a51fc2ca571cd0e7ca (patch)
tree3d55513a892df8e51b0d275cc365ebda8f900954 /lib/x509.c
parentcf73cf2e8d8045ea480de0f667668ee3464d0546 (diff)
downloadgnutls-01db1537f116b7fd24fa57a51fc2ca571cd0e7ca.tar.gz
_gnutls_x509_crt_cpy: optimized and simplified
Diffstat (limited to 'lib/x509.c')
-rw-r--r--lib/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509.c b/lib/x509.c
index f2b5aee0e7..219e065c80 100644
--- a/lib/x509.c
+++ b/lib/x509.c
@@ -1554,7 +1554,7 @@ gnutls_certificate_set_x509_trust(gnutls_certificate_credentials_t res,
goto cleanup;
}
- ret = _gnutls_x509_crt_cpy(new_list[i], ca_list[i]);
+ ret = _gnutls_x509_crt_cpy(new_list[i], ca_list[i], CRT_CPY_FAST);
if (ret < 0) {
gnutls_assert();
goto cleanup;