diff options
Diffstat (limited to 'security/krb5')
-rw-r--r-- | security/krb5/Makefile | 1 | ||||
-rw-r--r-- | security/krb5/files/patch-kdc::kdc_preauth.c | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/security/krb5/Makefile b/security/krb5/Makefile index 54cf283bec6b..a6cd65ee7a85 100644 --- a/security/krb5/Makefile +++ b/security/krb5/Makefile @@ -7,6 +7,7 @@ PORTNAME= krb5 PORTVERSION= 1.2.5 +PORTREVISION= 1 CATEGORIES= security .if defined(USA_RESIDENT) && ${USA_RESIDENT} == "NO" MASTER_SITES= http://www.crypto-publish.org/dist/mit-kerberos5/ diff --git a/security/krb5/files/patch-kdc::kdc_preauth.c b/security/krb5/files/patch-kdc::kdc_preauth.c new file mode 100644 index 000000000000..4e84ee941e85 --- /dev/null +++ b/security/krb5/files/patch-kdc::kdc_preauth.c @@ -0,0 +1,16 @@ +Index: kdc/kdc_preauth.c +===================================================================== +RCS file: /cvs/krbdev/krb5/src/kdc/kdc_preauth.c,v +retrieving revision 5.30 +diff -u -r5.30 kdc_preauth.c +--- kdc/kdc_preauth.c 2001/06/21 13:46:15 5.30 ++++ kdc/kdc_preauth.c 2002/06/24 22:28:01 +@@ -543,7 +543,7 @@ + while (1) { + retval = krb5_dbe_search_enctype(context, client, &start, -1, + -1, 0, &client_key); +- if (retval == ENOENT) ++ if (retval == KRB5_KDB_NO_MATCHING_KEY) + break; + if (retval) + goto cleanup; |