From 999d0b8e95c0cbcab9a7870f06d7a6b1854ea017 Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Wed, 23 May 2018 22:52:13 +0300 Subject: [PATCH] [general] fixed formatting; --- lib/hub.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/hub.c b/lib/hub.c index dbc0060..0a668d9 100644 --- a/lib/hub.c +++ b/lib/hub.c @@ -770,7 +770,8 @@ static int __verify_certcall(int preverify_ok, X509_STORE_CTX *ctx) /* ok, now we're on top of SSL (depth == 0) certs chain, * and we can validate client certificate */ if(!depth) { - link->pctx->certid = ASN1_INTEGER_get((const ASN1_INTEGER *)X509_get_serialNumber(ctx->current_cert)); + link->pctx->certid = + ASN1_INTEGER_get((const ASN1_INTEGER *)X509_get_serialNumber(ctx->current_cert)); /* now we're need to check the ssl cert */ if(hub->validate_sslpem) { if(hub->validate_sslpem(link)) return 0;