diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-10-10 11:52:03 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-10-10 11:52:03 +0800 |
commit | 8fd78e5ad91d5c4f891b3ae16ef9d7971e308268 (patch) | |
tree | 0d59c8ca2d5ab45ffa147c917aa4f727a584e0fd /security/openssh-portable/files | |
parent | 540858f8fb2fd7089eeb8bc0271a39f58b8aa0a3 (diff) | |
download | freebsd-ports-gnome-8fd78e5ad91d5c4f891b3ae16ef9d7971e308268.tar.gz freebsd-ports-gnome-8fd78e5ad91d5c4f891b3ae16ef9d7971e308268.tar.zst freebsd-ports-gnome-8fd78e5ad91d5c4f891b3ae16ef9d7971e308268.zip |
- GSSAPI patch improved for kerbers5 and hemidal
Submitted by: bg@sics.se
Diffstat (limited to 'security/openssh-portable/files')
-rw-r--r-- | security/openssh-portable/files/gss-serv.c.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/security/openssh-portable/files/gss-serv.c.patch b/security/openssh-portable/files/gss-serv.c.patch new file mode 100644 index 000000000000..434f71e6d057 --- /dev/null +++ b/security/openssh-portable/files/gss-serv.c.patch @@ -0,0 +1,18 @@ +--- gss-serv.c.DIST Tue Sep 2 14:56:42 2003 ++++ gss-serv.c Mon Oct 6 17:56:23 2003 +@@ -138,6 +138,15 @@ + OM_uint32 offset; + OM_uint32 oidl; + ++#if defined(HEIMDAL) ++ if (strcmp(heimdal_version, "Heimdal 0.6") < 0) { ++ name->length = ename->length; ++ name->value = xmalloc(name->length+1); ++ memcpy(name->value,ename->value,name->length); ++ ((char *)name->value)[name->length] = 0; ++ return GSS_S_COMPLETE; ++ } ++#endif + tok=ename->value; + + /* |