Merge pull request #238 from anarcat/gnutls-cert-count
properly call gnutls_x509_crt_list_import
This commit is contained in:
commit
b012874243
1 changed files with 1 additions and 0 deletions
|
@ -540,6 +540,7 @@ rb_setup_ssl_server(const char *const certfile, const char *keyfile,
|
|||
rb_free_datum_t(d_key);
|
||||
return 0;
|
||||
}
|
||||
client_cert_count = MAX_CERTS;
|
||||
if((ret = gnutls_x509_crt_list_import(client_cert, &client_cert_count, d_cert, GNUTLS_X509_FMT_PEM,
|
||||
GNUTLS_X509_CRT_LIST_IMPORT_FAIL_IF_EXCEED)) < 1)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue