- Add certs-tests.patch, cipher-tests.patch, fall-through.patch,
hostname-tests.patch, openssl3.patch
(according to see https://src.fedoraproject.org/rpms/tcltls
and https://salsa.debian.org/tcltk-team/tcltls)
- Remove tls-test-certs.tar.gz (replaced by certs-tests.patch)
- Clean up spec file
I don't know if it fits your guidelines exactly.
Decide for yourself if you can use it.
See https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/message/XPSOPZRBSZ6N35VAIY46Y3U3NYG76DEH/
OBS-URL: https://build.opensuse.org/request/show/965175
OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tls?expand=0&rev=20
28 lines
596 B
Diff
28 lines
596 B
Diff
--- a/tls.c
|
|
+++ b/tls.c
|
|
@@ -1424,7 +1424,7 @@
|
|
channelName = Tcl_GetStringFromObj(objv[2], NULL);
|
|
break;
|
|
}
|
|
- /* else fall... */
|
|
+ /* else fall-through ... */
|
|
default:
|
|
Tcl_WrongNumArgs(interp, 1, objv, "?-local? channel");
|
|
return TCL_ERROR;
|
|
--- a/tlsBIO.c
|
|
+++ b/tlsBIO.c
|
|
@@ -231,9 +231,12 @@
|
|
switch (cmd) {
|
|
case BIO_CTRL_RESET:
|
|
dprintf("Got BIO_CTRL_RESET");
|
|
- num = 0;
|
|
+ ret = 0;
|
|
+ break;
|
|
case BIO_C_FILE_SEEK:
|
|
dprintf("Got BIO_C_FILE_SEEK");
|
|
+ ret = 0;
|
|
+ break;
|
|
case BIO_C_FILE_TELL:
|
|
dprintf("Got BIO_C_FILE_TELL");
|
|
ret = 0;
|