Some error code cleanups (SSL lib. used SSL_R_... codes reserved for alerts)

This commit is contained in:
Bodo Möller
2006-01-08 19:42:30 +00:00
parent 01c76c6606
commit 739a543ea8
12 changed files with 111 additions and 101 deletions

View File

@@ -1089,7 +1089,7 @@ static int cswift_rand_bytes(unsigned char *buf, int num)
if (swrc != SW_OK)
{
char tmpbuf[20];
CSWIFTerr(CSWIFT_F_CSWIFT_CTRL, CSWIFT_R_REQUEST_FAILED);
CSWIFTerr(CSWIFT_F_CSWIFT_RAND_BYTES, CSWIFT_R_REQUEST_FAILED);
sprintf(tmpbuf, "%ld", swrc);
ERR_add_error_data(2, "CryptoSwift error number is ", tmpbuf);
goto err;