Skip to content

Commit 4064282

Browse files
committed
Fix copy&paste error in the cyrus-sasl patch
1 parent 0707586 commit 4064282

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: cyrus-sasl/cyrus-sasl-2.1.26-openssl110.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ diff -up cyrus-sasl-2.1.26/plugins/ntlm.c.openssl110 cyrus-sasl-2.1.26/plugins/n
1212
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
1313
+ return HMAC_CTX_new();
1414
+#else
15-
+ return utils->malloc(sizeof(EVP_MD_CTX));
16-
+#endif
15+
+ return utils->malloc(sizeof(HMAC_CTX));
16+
+#endif
1717
+}
1818
+
1919
+static void _plug_HMAC_CTX_free(HMAC_CTX *ctx, const sasl_utils_t *utils)
@@ -25,7 +25,7 @@ diff -up cyrus-sasl-2.1.26/plugins/ntlm.c.openssl110 cyrus-sasl-2.1.26/plugins/n
2525
+#else
2626
+ HMAC_cleanup(ctx);
2727
+ utils->free(ctx);
28-
+#endif
28+
+#endif
2929
+}
3030
+
3131
static unsigned char *V2(unsigned char *V2, sasl_secret_t *passwd,

0 commit comments

Comments
 (0)