/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <k5-int.h>
#include <socket-utils.h>
/*
* convert a sockaddr_storage address to a krb5_address
* Returns address of krbap if success, NULL if error.
*/
{
case AF_INET:
return (NULL);
return (krbap);
case AF_INET6:
/* coerce to IPv4 address */
return (NULL);
} else {
return (NULL);
}
return (krbap);
default:
return (NULL);
}
}