diff --git a/secutil.c b/secutil.c index f8874f0..0255c60 100755 --- a/secutil.c +++ b/secutil.c @@ -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); diff --git a/secutil.h b/secutil.h index aab71e3..3a416f2 100755 --- a/secutil.h +++ b/secutil.h @@ -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);