summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2006-01-08 19:42:30 +0000
committerBodo Möller <bodo@openssl.org>2006-01-08 19:42:30 +0000
commit739a543ea863682f157e9aa0ee382367eb3d187c (patch)
tree09c0ba1d3dcdf4712b26f1cdf8a7771411b4932c /engines
parent01c76c6606c51013222626875218e0f1ed5bcc7e (diff)
Some error code cleanups (SSL lib. used SSL_R_... codes reserved for alerts)
Diffstat (limited to 'engines')
-rw-r--r--engines/e_cswift.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/e_cswift.c b/engines/e_cswift.c
index d5f1d4e05f..e67379e23e 100644
--- a/engines/e_cswift.c
+++ b/engines/e_cswift.c
@@ -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;