Less empty if statements.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25120 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -1037,12 +1037,10 @@ _kdc_as_rep(krb5_context context, | ||||
| 	e_text = "No PKINIT PA found"; | ||||
|  | ||||
| 	i = 0; | ||||
| 	if ((pa = _kdc_find_padata(req, &i, KRB5_PADATA_PK_AS_REQ))) | ||||
| 	    ; | ||||
| 	pa = _kdc_find_padata(req, &i, KRB5_PADATA_PK_AS_REQ); | ||||
| 	if (pa == NULL) { | ||||
| 	    i = 0; | ||||
| 	    if((pa = _kdc_find_padata(req, &i, KRB5_PADATA_PK_AS_REQ_WIN))) | ||||
| 		; | ||||
| 	    pa = _kdc_find_padata(req, &i, KRB5_PADATA_PK_AS_REQ_WIN); | ||||
| 	} | ||||
| 	if (pa) { | ||||
| 	    char *client_cert = NULL; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand