Disable some heimdal bits
[openafs.git] / src / crypto / rfc3961 / krb5_locl.h
index 9684f5e..ee4f7d8 100644 (file)
@@ -40,6 +40,9 @@
 #define HEIM_CRYPTO_NO_ARCFOUR
 #define HEIM_CRYPTO_NO_PK
 
+#define NO_RAND_EGD_METHOD
+#define NO_RANDFILE
+
 #define ALLOC(X, N) (X) = calloc((N), sizeof(*(X)))
 
 #ifndef max
@@ -144,6 +147,13 @@ krb5_error_code krb5_abortx(krb5_context, const char *, ...);
 
 #define krb5_clear_error_message(ctx)
 
+static_inline krb5_error_code
+krb5_enomem(krb5_context context)
+{
+    return ENOMEM;
+}
+
+
 /* Local prototypes. These are functions that we aren't admitting to in the
  * public API */
 krb5_error_code _krb5_n_fold(const void *str, size_t len, void *, size_t);