diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-08-06 16:23:17 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-08-06 16:23:17 +0000 |
commit | 17620eec4c883ac1ec78d8a9f4f5ce1ac7bc5393 (patch) | |
tree | f23ef3bbc23dc7c115ab8d6c1a44ffd409eed94b /ssl/s3_both.c | |
parent | 059230b3203b842beba856b7998e71f70e7e454e (diff) |
Fix error codes.
Diffstat (limited to 'ssl/s3_both.c')
-rw-r--r-- | ssl/s3_both.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_both.c b/ssl/s3_both.c index 399fa2c298..c8a79f47b5 100644 --- a/ssl/s3_both.c +++ b/ssl/s3_both.c @@ -272,7 +272,7 @@ static int ssl3_add_cert_to_buf(BUF_MEM *buf, unsigned long *l, X509 *x) n=i2d_X509(x,NULL); if (!BUF_MEM_grow_clean(buf,(int)(n+(*l)+3))) { - SSLerr(SSL_F_SSL3_OUTPUT_CERT_CHAIN,ERR_R_BUF_LIB); + SSLerr(SSL_F_SSL3_ADD_CERT_TO_BUF,ERR_R_BUF_LIB); return(-1); } p=(unsigned char *)&(buf->data[*l]); |