Blob Blame History Raw
diff -Naur libotr-4.1.1-orig/src/proto.c libotr-4.1.1/src/proto.c
--- libotr-4.1.1-orig/src/proto.c	2016-03-06 08:13:55.000000000 -0500
+++ libotr-4.1.1/src/proto.c	2021-05-18 20:39:41.552548682 -0400
@@ -54,6 +54,12 @@
 {
     unsigned int api_version;
 
+/* See:
+ * https://bugzilla.redhat.com/show_bug.cgi?id=1634321
+ * https://github.com/psi-im/plugins/issues/7#issuecomment-423048948
+ */
+#if 0
+
     /* The major versions have to match, and you can't be using a newer
      * minor version than we expect. */
     if (ver_major != OTRL_VERSION_MAJOR || ver_minor > OTRL_VERSION_MINOR) {
@@ -63,6 +69,7 @@
 		OTRL_VERSION_MAJOR, OTRL_VERSION_MINOR, OTRL_VERSION_SUB);
 	return gcry_error(GPG_ERR_INV_VALUE);
     }
+#endif
 
     /* Set the API version.  If we get called multiple times for some
      * reason, take the smallest value. */