From: Martin Olsson Date: Tue, 19 Aug 2014 15:46:52 +0000 (-0400) Subject: RT2848: Remove extra NULL check X-Git-Tag: master-post-reformat~474 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=96208cb1821f92dd6e94c3aa2882bc9cc47904f9;p=oweals%2Fopenssl.git RT2848: Remove extra NULL check Don't need to check auth for NULL since we did when we assigned to it. Reviewed-by: Emilia Kasper --- diff --git a/ssl/kssl.c b/ssl/kssl.c index e56dc6b8b7..4eaf294ca9 100644 --- a/ssl/kssl.c +++ b/ssl/kssl.c @@ -2133,7 +2133,7 @@ krb5_error_code kssl_check_authent( #ifdef KSSL_DEBUG printf("kssl_check_authent: returns %d for client time ", *atimep); - if (auth && auth->ctime && auth->ctime->length && auth->ctime->data) + if (auth->ctime && auth->ctime->length && auth->ctime->data) printf("%.*s\n", auth->ctime->length, auth->ctime->data); else printf("NULL\n"); #endif /* KSSL_DEBUG */