freebsd-ports/security/skip/files/patch-ch
Julian Elischer de8a9e2851 Add a package for the SKIP package from Sun Microsystems,
for making secure pipes across the internet (etc.)
1998-01-09 23:23:58 +00:00

18 lines
483 B
Plaintext

diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/tools/skiptool/es_ras.c skipsrc-1.0/skip/tools/skiptool/es_ras.c
--- skipsrc-1.0.orig/skip/tools/skiptool/es_ras.c Fri Oct 25 13:13:06 1996
+++ skipsrc-1.0/skip/tools/skiptool/es_ras.c Tue Dec 2 17:05:13 1997
@@ -92,6 +92,13 @@
if (stat(path, &st) == 0) {
return (path);
}
+
+ strcpy(path, SKIP_DIR);
+ strcat(path, "/");
+ strcat(path, name);
+ if (stat(path, &st) == 0) {
+ return (path);
+ }
return (NULL);
}