catch extra data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25225 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -384,8 +384,10 @@ _kdc_do_kx509(krb5_context context,
|
||||
if (ret)
|
||||
goto out;
|
||||
free_RSAPublicKey(&key);
|
||||
if (size != req->pk_key.length)
|
||||
;
|
||||
if (size != req->pk_key.length) {
|
||||
ret = ASN1_EXTRA_DATA;
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
|
||||
ALLOC(rep.certificate);
|
||||
|
Reference in New Issue
Block a user