+Wed Sep 13 11:07:45 1995 Keith Vetter (keithv@fusion.com)
+
+ * gss-clie.c: turned const_gss_OID into const gss_OID.
+ * gss-misc.c: needed more includes.
+ * gss.c: needed more includes.
+
Fri Apr 28 17:07:01 1995 Keith Vetter (keithv@fusion.com)
* gss-misc.c: bug with reading 4 bytes into a 2 byte entity.
{10, "\052\206\110\206\367\022\001\002\001\004"},
};
-const_gss_OID gss_nt_user_name = oids+0;
-const_gss_OID gss_nt_machine_uid_name = oids+1;
-const_gss_OID gss_nt_string_uid_name = oids+2;
-const_gss_OID gss_nt_service_name = oids+3;
+const gss_OID_desc * gss_nt_user_name = oids+0;
+const gss_OID_desc * gss_nt_machine_uid_name = oids+1;
+const gss_OID_desc * gss_nt_string_uid_name = oids+2;
+const gss_OID_desc * gss_nt_service_name = oids+3;
int
gss (char *host, char *name, char *msg, int port)
send_tok.value = sname;
send_tok.length = strlen(sname) + 1;
maj_stat = gss_import_name(&min_stat, &send_tok,
- gss_nt_service_name, &target_name);
+ (gss_OID) gss_nt_service_name, &target_name);
if (maj_stat != GSS_S_COMPLETE) {
display_status("parsing name", maj_stat, min_stat);
return -1;
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
-
#include "gss.h"
+#include <stdio.h>
#include <string.h>
#include <errno.h>
+#include <stdlib.h>
/*+
* Function: send_token
display_status_1(char *m, OM_uint32 code, int type) {
OM_uint32 maj_stat, min_stat;
gss_buffer_desc msg;
- int msg_ctx;
+ OM_uint32 msg_ctx;
msg_ctx = 0;
while (1) {