diff options
author | cvsadm <cvsadm> | 2005-01-21 00:44:34 +0000 |
---|---|---|
committer | cvsadm <cvsadm> | 2005-01-21 00:44:34 +0000 |
commit | b2093e3016027d6b5cf06b3f91f30769bfc099e2 (patch) | |
tree | cf58939393a9032182c4fbc4441164a9456e82f8 /ldap/clients/dsgw/ckdel.c | |
download | ds-ldapserver7x.tar.gz ds-ldapserver7x.tar.xz ds-ldapserver7x.zip |
Moving NSCP Directory Server from DirectoryBranch to TRUNK, initial drop. (foxworth)ldapserver7x
Diffstat (limited to 'ldap/clients/dsgw/ckdel.c')
-rw-r--r-- | ldap/clients/dsgw/ckdel.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ldap/clients/dsgw/ckdel.c b/ldap/clients/dsgw/ckdel.c new file mode 100644 index 00000000..d823da14 --- /dev/null +++ b/ldap/clients/dsgw/ckdel.c @@ -0,0 +1,30 @@ +/** + * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to + * license terms. Copyright © 2001 Sun Microsystems, Inc. + * Some preexisting portions Copyright © 2001 Netscape Communications Corp. + * All rights reserved. + */ + +#include <stdio.h> +#include "dsgw.h" + +#include <ssl.h> +#include <sec.h> + +main( int argc, char **argv) +{ + char cookie[ 512 ]; + int rc; + + printf( "Remove an entry to the cookie database\n" ); + + printf( "cookie: " ); + gets( cookie ); + + rc = dsgw_delcookie( cookie ); + if ( rc == 0 ) { + printf( "Cookie deleted\n" ); + } else { + printf( "Failed, rc = %d\n", rc ); + } +} |