summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-04-05 12:42:18 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-04-05 14:53:39 +0200
commit8617e22c44cfa589a7bc7a766156f4c726700e22 (patch)
treecf522b4101dc481ce8a4f15d952b51db275fe12f /lib
parent1e809ff296e7e5cbe7711649593d66ddaf3cb9fc (diff)
downloadgnutls-8617e22c44cfa589a7bc7a766156f4c726700e22.tar.gz
gnutlsxx.cpp: fixed misleading indentation issues
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/gnutlsxx.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/gnutlsxx.cpp b/lib/gnutlsxx.cpp
index 8fd1483e42..b91c994436 100644
--- a/lib/gnutlsxx.cpp
+++ b/lib/gnutlsxx.cpp
@@ -217,7 +217,7 @@ namespace gnutls
{
int ret = gnutls_session_is_resumed (s);
- return (ret != 0);
+ return (ret != 0);
}
bool session::get_peers_certificate (std::vector < gnutls_datum_t >
@@ -226,7 +226,7 @@ namespace gnutls
const gnutls_datum_t *certs;
unsigned int certs_size;
- certs = gnutls_certificate_get_peers (s, &certs_size);
+ certs = gnutls_certificate_get_peers (s, &certs_size);
if (certs == NULL)
return false;
@@ -234,7 +234,7 @@ namespace gnutls
for (unsigned int i = 0; i < certs_size; i++)
out_certs.push_back (certs[i]);
- return true;
+ return true;
}
bool session::get_peers_certificate (const gnutls_datum_t ** certs,
@@ -251,10 +251,11 @@ namespace gnutls
{
const gnutls_datum_t *d;
- d = gnutls_certificate_get_ours (s);
+ d = gnutls_certificate_get_ours (s);
if (d == NULL)
throw (exception (GNUTLS_E_INVALID_REQUEST));
- cert = *d;
+
+ cert = *d;
}
time_t session::get_peers_certificate_activation_time () const