- Resolves: Bug 782142 - keyutil should use error string utilities provided by nss since 3.13

- actually commit the changes to keyutil to use PORT_ErrorToString
This commit is contained in:
Elio Maldonado 2012-02-01 23:02:47 -08:00
parent 5392359e43
commit d3e47824c3
2 changed files with 1 additions and 4 deletions

View File

@ -121,7 +121,7 @@ SECU_PrintErrMsg(FILE *out, int level, char *progName, char *msg, ...)
{
va_list args;
PRErrorCode err = PORT_GetError();
const char * errString = SECU_Strerror(err);
const char * errString = PORT_ErrorToString(err);
va_start(args, msg);

View File

@ -94,9 +94,6 @@ extern void SECU_PrintError(char *progName, char *msg, ...);
/* print out a system error message */
extern void SECU_PrintSystemError(char *progName, char *msg, ...);
/* Return informative error string */
extern const char * SECU_Strerror(PRErrorCode errNum);
/* Read the contents of a file into a SECItem */
extern SECStatus SECU_FileToItem(SECItem *dst, PRFileDesc *src);
extern SECStatus SECU_TextFileToItem(SECItem *dst, PRFileDesc *src);