Other changes in this ticket guarantee that the padata argument to
authorSam Hartman <hartmans@mit.edu>
Mon, 4 Jan 2010 19:59:20 +0000 (19:59 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 4 Jan 2010 19:59:20 +0000 (19:59 +0000)
return callbacks is non-null; don't check for null in pkinit_srv.c.

ticket: 6607

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23582 dc483132-0cff-0310-8789-dd5450dbe970

src/plugins/preauth/pkinit/pkinit_srv.c

index ecd49b59f7a221dd01fdb71d517ccbca8eee24b6..719b01c80c04142bc5a49c7a0c4650a2925c7694 100644 (file)
@@ -704,7 +704,7 @@ pkinit_server_return_padata(krb5_context context,
         return return_pkinit_kx(context, request, reply,
                                 encrypting_key, send_pa);
     }
-    if (padata == NULL || padata->length <= 0 || padata->contents == NULL)
+    if (padata->length <= 0 || padata->contents == NULL)
         return 0;
 
     if (pa_request_context == NULL || *pa_request_context == NULL) {