--- crypto/hmac/hmac.c.orig	2009-01-08 15:07:56.000000000 +0100
+++ crypto/hmac/hmac.c	2009-01-08 15:07:32.000000000 +0100
@@ -180,4 +180,13 @@
 	EVP_MD_CTX_set_flags(&ctx->md_ctx, flags);
 	}
 
+// Define alias names for compatibility with AVMs libcrypto
+#define	DEFINE_ALIAS(n)	extern __typeof (n) ossl_##n __attribute__ ((alias (#n)));
+
+DEFINE_ALIAS (HMAC);
+DEFINE_ALIAS (HMAC_Init);
+DEFINE_ALIAS (HMAC_Init_ex);
+DEFINE_ALIAS (HMAC_Update);
+DEFINE_ALIAS (HMAC_Final);
+
 #endif
