make sure we use definite form with ISODE
authorJohn Kohl <jtkohl@mit.edu>
Fri, 1 Mar 1991 10:19:16 +0000 (10:19 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 1 Mar 1991 10:19:16 +0000 (10:19 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1829 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/asn.1/encode.c

index 63bad48cc50e9d842254b1d66ee73a8a88496450..e9f7b3565ffd15b8df173ef264726a623a26b16c 100644 (file)
@@ -38,6 +38,8 @@ void (*free_translation) PROTOTYPE((krb5_pointer ));
     PS ps;
     krb5_error_code error;
 
+    ps_len_strategy = PS_LEN_LONG;     /* force use of definite form */
+
     if (!(isode_out = (*translator)(input, &error)))
        return(error);
     if ((*encoder)(&pe, 0, 0, 0, isode_out)) {