Actually allow null server key in krb5_pac_verify
authorGreg Hudson <ghudson@mit.edu>
Thu, 8 Dec 2011 04:21:23 +0000 (04:21 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 8 Dec 2011 04:21:23 +0000 (04:21 +0000)
ticket: 7048

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25534 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/pac.c

index 23aa9305b3b6fd23365de70c37d939bc4f6b5bdb..3262d21d8259425b3c27f7eff0594fa3240b11b9 100644 (file)
@@ -634,9 +634,6 @@ krb5_pac_verify(krb5_context context,
 {
     krb5_error_code ret;
 
-    if (server == NULL)
-        return EINVAL;
-
     if (server != NULL) {
         ret = k5_pac_verify_server_checksum(context, pac, server);
         if (ret != 0)