summaryrefslogtreecommitdiff
path: root/lib/auth_cert.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/auth_cert.c')
-rw-r--r--lib/auth_cert.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/auth_cert.c b/lib/auth_cert.c
index 6c2da78a17..358d012186 100644
--- a/lib/auth_cert.c
+++ b/lib/auth_cert.c
@@ -426,19 +426,19 @@ call_get_cert_callback (gnutls_session_t session,
if (session->security_parameters.entity == GNUTLS_SERVER)
{
if (cred->server_get_cert_callback == NULL)
- {
- gnutls_assert();
- return GNUTLS_E_INTERNAL_ERROR;
- }
+ {
+ gnutls_assert ();
+ return GNUTLS_E_INTERNAL_ERROR;
+ }
ret = cred->server_get_cert_callback (session, &st);
}
else
{ /* CLIENT */
if (cred->client_get_cert_callback == NULL)
- {
- gnutls_assert();
- return GNUTLS_E_INTERNAL_ERROR;
- }
+ {
+ gnutls_assert ();
+ return GNUTLS_E_INTERNAL_ERROR;
+ }
ret =
cred->client_get_cert_callback (session,
issuers_dn, issuers_dn_length,