g_initialize.c (gss_initialize): Don't fprintf to stderr on
authorTheodore Tso <tytso@mit.edu>
Wed, 28 Feb 1996 04:38:54 +0000 (04:38 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 28 Feb 1996 04:38:54 +0000 (04:38 +0000)
Macintoshes and Windows.

g_inq_context.c: Add INTERFACE keyword for Windows.

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

src/lib/gssapi/mechglue/ChangeLog
src/lib/gssapi/mechglue/g_initialize.c
src/lib/gssapi/mechglue/g_inq_context.c

index c9e474ba30e6b98c3d66e906be3da193b84a5722..47c69a62d53cde5c6bb4cca7f9046c2f53a3f0ff 100644 (file)
@@ -1,5 +1,10 @@
 Tue Feb 27 18:44:51 1996  Theodore Y. Ts'o  <tytso@dcl>
 
+       * g_initialize.c (gss_initialize): Don't fprintf to stderr on
+               Macintoshes and Windows.
+
+       * g_inq_context.c: Add INTERFACE keyword for Windows.
+
        * oid_ops.c: Protect include of unistd.h with HAVE_UNISTD_H
 
 Sun Feb 25 15:39:08 1996  Mark W. Eichin  <eichin@cygnus.com>
index c92d73154e73d9a053ce49713a3b0cb17bcb1b27..cf75155c9bb4f39f93ee101bc41356aca4f901f8 100644 (file)
@@ -154,10 +154,17 @@ void gss_initialize (void)
 
 #endif /* USE_SOLARIS_SHARED_LIBRARIES */
 
+#if !defined(_MSDOS) && !defined(_MACINTOSH)
     if (__gss_mechs_array == NULL) { /* this is very bad! */
       fprintf(stderr,"gss_initialize fatal error: no mechanisms loaded!\n");
       exit(-1);
     }
+#else
+    /*
+     * Nothing for now, since this should never happen using static
+     * mechanism loading.
+     */
+#endif
 
     return;
 }
index 26d9a9a95955e268767ec96d46aa603c20faccec..44fa77e35e9a7ae3fa48983cde57e61a0bda3a50 100644 (file)
@@ -33,7 +33,8 @@
 #endif
 
 /* Last argument new for V2 */
-OM_uint32 gss_inquire_context(
+OM_uint32 INTERFACE
+gss_inquire_context(
            minor_status,
            context_handle,
            src_name,