[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gss/lib
From: |
gss-commit |
Subject: |
CVS gss/lib |
Date: |
Thu, 16 Dec 2004 03:03:54 +0100 |
Update of /home/cvs/gss/lib
In directory dopio:/tmp/cvs-serv10743
Modified Files:
ext.h ext.c
Log Message:
(gss_release_oid): Remove.
--- /home/cvs/gss/lib/ext.h 2004/10/14 21:18:14 1.19
+++ /home/cvs/gss/lib/ext.h 2004/12/16 02:03:53 1.20
@@ -39,7 +39,6 @@
extern OM_uint32
gss_duplicate_oid (OM_uint32 * minor_status,
const gss_OID src_oid, gss_OID * dest_oid);
-extern OM_uint32 gss_release_oid (OM_uint32 * minor_status, gss_OID * oid);
extern int gss_userok (const gss_name_t name, const char *username);
/* See asn1.c. */
--- /home/cvs/gss/lib/ext.c 2004/09/16 22:58:23 1.12
+++ /home/cvs/gss/lib/ext.c 2004/12/16 02:03:53 1.13
@@ -153,41 +153,6 @@
}
/**
- * gss_release_oid:
- * @minor_status: (Integer, modify) Mechanism specific status code.
- * @oid: (gss_OID, modify) The OID to be deleted.
- *
- * Free GSSAPI-allocated storage associated with an OID. The OID is
- * set to GSS_C_NO_OID on successful completion of this call.
- *
- * WARNING: This function is a GNU GSS specific extension, and is not
- * part of the official GSS API.
- *
- * Return value:
- *
- * `GSS_S_COMPLETE`: Successful completion.
- **/
-OM_uint32
-gss_release_oid (OM_uint32 * minor_status, gss_OID * oid)
-{
- if (minor_status)
- *minor_status = 0;
-
- if (!oid)
- return GSS_S_FAILURE | GSS_S_CALL_INACCESSIBLE_READ;
-
- if (*oid != GSS_C_NO_OID)
- {
- if ((*oid)->elements)
- free ((*oid)->elements);
- free (*oid);
- *oid = GSS_C_NO_OID;
- }
-
- return GSS_S_COMPLETE;
-}
-
-/**
* gss_userok:
* @name: (gss_name_t, read) Name to be compared.
* @username: Zero terminated string with username.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- CVS gss/lib,
gss-commit <=