The new pkinit encoders for hash agility are in the library export
list (whereas older encoders are invoked via the accessor), so we need
to provide stubs for them if we're building without pkinit support.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25216
dc483132-0cff-0310-8789-
dd5450dbe970
asn1_cleanup();
}
-#endif /* DISABLE_PKINIT */
+#else /* DISABLE_PKINIT */
+
+/* Stubs for exported pkinit encoder functions. */
+
+krb5_error_code
+encode_krb5_sp80056a_other_info(const krb5_sp80056a_other_info *rep,
+ krb5_data **code)
+{
+ return EINVAL;
+}
+
+krb5_error_code
+encode_krb5_pkinit_supp_pub_info(const krb5_pkinit_supp_pub_info *rep,
+ krb5_data **code)
+{
+ return EINVAL;
+}
+
+#endif /* not DISABLE_PKINIT */
asn1_error_code
asn1_encode_sequence_of_typed_data(asn1buf *buf, const krb5_typed_data **val,