89932f6b713d271f1e0d940d4e9633ef7f4c3e7d
hiram
  Thu Dec 12 11:40:01 2013 -0800
avoid compile errors when USE_SSL=0 refs #12254
diff --git src/lib/hmac.c src/lib/hmac.c
index 72ca645..5e8c9aa 100644
--- src/lib/hmac.c
+++ src/lib/hmac.c
@@ -34,25 +34,27 @@
     sprintf(&hmacStr[i*2], "%02x", (unsigned int)digest[i]);
 return cloneStringZ(hmacStr, sizeof(hmacStr));
 }
 
 #else // --------- no USE_SSL ==> errAbort with message that openssl is required --------------
 
 #include "common.h"
 #include "errabort.h"
 #define NEED_OPENSSL "kent/src must be recompiled with openssl libs and USE_SSL=1 in order for this to work."
 
 char *hmacSha1(char *key, char *data)
 /* This is just a warning that appears in the absence of USE_SSL. Real
  * implementation is above! */
 {
 errAbort(NEED_OPENSSL);
+return NULL;
 }
 
 char *hmacMd5(char *key, char *data)
 /* This is just a warning that appears in the absence of USE_SSL. Real
  * implementation is above! */
 {
 errAbort(NEED_OPENSSL);
+return NULL;
 }
 
 #endif