Created
February 12, 2015 22:42
-
-
Save Adenilson/a60a1a2a5415e7929e6b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- old_openssl_shim.c 2015-02-11 21:41:12.000000000 -0800 | |
+++ old_openssl_shim.c 2015-02-11 21:20:41.000000000 -0800 | |
@@ -35,15 +35,15 @@ | |
#else /* OLD_OPENSSL */ | |
-int HMAC_Init_ex_shim(HMAC_CTX *ctx, const void *key, int key_len, const EVP_MD *md, ENGINE *impl) { | |
+void HMAC_Init_ex_shim(HMAC_CTX *ctx, const void *key, int key_len, const EVP_MD *md, ENGINE *impl) { | |
return HMAC_Init_ex(ctx, key, key_len, md, impl); | |
} | |
-int HMAC_Update_shim(HMAC_CTX *ctx, const unsigned char *data, int len) { | |
+void HMAC_Update_shim(HMAC_CTX *ctx, const unsigned char *data, int len) { | |
return HMAC_Update(ctx, data, len); | |
} | |
-int HMAC_Final_shim(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) { | |
+void HMAC_Final_shim(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) { | |
return HMAC_Final(ctx, md, len); | |
} | |
#endif /* OLD_OPENSSL */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment