Skip to content

Instantly share code, notes, and snippets.

@anveo
Last active August 29, 2015 14:01
Show Gist options
  • Save anveo/e8dede37b39d45bb0606 to your computer and use it in GitHub Desktop.
Save anveo/e8dede37b39d45bb0606 to your computer and use it in GitHub Desktop.
--- ngx_http_requestid_module_old.c 2012-04-16 04:37:56.000000000 -0600
+++ ngx_http_requestid_module.c 2014-04-17 15:41:13.000000000 -0600
@@ -105,7 +105,7 @@
p = hasht;
static u_char hex[] = "0123456789abcdef";
- for (i = 0; i < MD5_HASH_LEN; i++) {
+ for (i = 0; i < MD5_BHASH_LEN; i++) {
*p++ = hex[hashb[i] >> 4];
*p++ = hex[hashb[i] & 0xf];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment