Movatterモバイル変換


[0]ホーム

URL:


Go to main content
oracle home

Developer's Guide to Oracle® Solaris 11.4 Security

Exit Print View

 
Search Scope:
  »  ...Documentation Home  »  Oracle Solaris 11.4 Information Library  »  Developer's Guide to Oracle® ...  »  GSS-API Client Example  »  Deleting the Security Context
Updated: November 2020
 
 

Deleting the Security Context

Thecall_server() function finishes by deleting the context and returning to themain() function.

Example 19  GSSAPI Clientcall_server() Function to Delete Context
/* Delete context */     maj_stat = gss_delete_sec_context(&min_stat, &context, &out_buf);     if (maj_stat != GSS_S_COMPLETE) {          display_status("deleting context", maj_stat, min_stat);          (void) close(s);          (void) gss_delete_sec_context(&min_stat, &context, GSS_C_NO_BUFFER);          return -1;     }     (void) gss_release_buffer(&min_stat, &out_buf);     (void) close(s);     return 0;
Copyright © 2000, 2020, Oracle and/or its affiliates. 
Previous
Next

[8]ページ先頭

©2009-2025 Movatter.jp