summaryrefslogtreecommitdiff
path: root/lib/x509
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-02-15 21:48:12 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-02-15 21:48:12 +0000
commitccbb8d0c5e22532ab444b61c7f59d362b9840759 (patch)
tree957ce387217e67f40a325907de2a335f75488fdb /lib/x509
parentaaffc8c62d547fac81d5fa0d65021bcf1e2bae31 (diff)
downloadgnutls-ccbb8d0c5e22532ab444b61c7f59d362b9840759.tar.gz
Added a primitive function to load a file into memory, so that no certificate files are truncated. Also fixed a bug in the client certificate callback function.
Diffstat (limited to 'lib/x509')
-rw-r--r--lib/x509/x509.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/x509/x509.c b/lib/x509/x509.c
index e208a02e9d..c3241331c1 100644
--- a/lib/x509/x509.c
+++ b/lib/x509/x509.c
@@ -711,7 +711,6 @@ int gnutls_x509_crt_get_key_usage(gnutls_x509_crt cert, unsigned int *key_usage,
if ((result =
_gnutls_x509_crt_get_extension(cert, "2.5.29.15", 0, &keyUsage, critical)) < 0) {
- gnutls_assert();
return result;
}