RT2848: Remove extra NULL check
authorMartin Olsson <martin@minimum.se>
Tue, 19 Aug 2014 15:46:52 +0000 (11:46 -0400)
committerRich Salz <rsalz@akamai.com>
Tue, 19 Aug 2014 16:43:58 +0000 (12:43 -0400)
Don't need to check auth for NULL since we did when we
assigned to it.

Reviewed-by: Emilia Kasper <emilia@openssl.org>
ssl/kssl.c

index e56dc6b8b7e48ed7a2c6cbb6ee82a47f0a1924c3..4eaf294ca9a9d72b98d5f25d3e241f11572d986c 100644 (file)
@@ -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 */