- 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:
parent
5392359e43
commit
d3e47824c3
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user