Hello,

I wrote a program like this:

PRInt32 mod_ssl_startup(char *dbdir, PRInt32 clearCert)
{
 char  *dbpath=NULL;
 char  *certfile=NULL;
 PRErrorCode ercode;

 SECStatus rv;

 PK11SlotInfo *slot=NULL;
......
 rv = NSS_InitReadWrite(dbpath);

 rv = NSS_SetDomesticPolicy();
 if(rv!=SECSuccess)
 {
  ercode = PR_GetError();
  printf("set policy failure......%d\n", ercode);
  goto cleanup;
 }
......
Why NSS_SetDomesticPolicy always return 12266?
"An unknown SSL cipher suite has been requested."

The application has attempted to configure SSL to use an unknown cipher 
suite.

But I didn't do anything. Please tell me why?


_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to