Fix asn1_encode_subject_pk_info without params
authorGreg Hudson <ghudson@mit.edu>
Fri, 6 Jan 2012 20:46:17 +0000 (20:46 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 6 Jan 2012 20:46:17 +0000 (20:46 +0000)
commit255e1dd08f2398ef23a4ff83f69bb0806c6b76c7
tree905f6f119a3353ddf78906fafee322bd94db970c
parentef2a96a8cf63c7d207805aff94fead695993d660
Fix asn1_encode_subject_pk_info without params

r20923 inadvertently broke asn1_encode_subject_pk_info in the case
where algorithm.parameters.length == 0.  Fortunately this case never
happens, but fix it anyway.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25607 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/asn.1/asn1_k_encode.c