Logo Search packages:      
Sourcecode: fence-agents version File versions  Download package

static int init_nss ( void   ) [static]

Initialize NSS. NSS is initialized without DB and with domnestic policy.

Returns:
1 on success, otherwise 0.

Definition at line 79 of file fence_nss_wrapper.c.

References print_nspr_error().

Referenced by main().

                          {
  if ((NSS_NoDB_Init(NULL)!=SECSuccess) ||
      (NSS_SetDomesticPolicy()!=SECSuccess)) {
    print_nspr_error();

    return 0;
  }

  SSL_ClearSessionCache();

  return 1;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index