svn commit: r485285 - head/security/sst/files
Mikhail Teterin
mi at FreeBSD.org
Sun Nov 18 22:17:26 UTC 2018
Author: mi
Date: Sun Nov 18 22:17:24 2018
New Revision: 485285
URL: https://svnweb.freebsd.org/changeset/ports/485285
Log:
Fix an off-by-one error in the SSL-method selection I implemented
earlier. How embarrassing...
Modified:
head/security/sst/files/patch-sst.c
Modified: head/security/sst/files/patch-sst.c
==============================================================================
--- head/security/sst/files/patch-sst.c Sun Nov 18 22:11:32 2018 (r485284)
+++ head/security/sst/files/patch-sst.c Sun Nov 18 22:17:24 2018 (r485285)
@@ -233,7 +233,7 @@
+
+ SHOW_info1("method `%s' not known, trying best available", requested);
+highest:
-+ m = methods + sizeof(methods)/sizeof(methods[0]); /* Last entry */
++ m = methods + sizeof(methods)/sizeof(methods[0]) - 1; /* Last entry */
+ return m->meth();
+}
More information about the svn-ports-head
mailing list